From 37047fa070cffe7e0afb796c1e0945e70e93a0a3 Mon Sep 17 00:00:00 2001 From: Rob Reynolds Date: Mon, 29 Jun 2015 10:04:29 -0500 Subject: [PATCH] (GH-14) Log source type evaluated --- src/chocolatey/infrastructure.app/runners/GenericRunner.cs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/chocolatey/infrastructure.app/runners/GenericRunner.cs b/src/chocolatey/infrastructure.app/runners/GenericRunner.cs index 6ba73330ec..74ff83d398 100644 --- a/src/chocolatey/infrastructure.app/runners/GenericRunner.cs +++ b/src/chocolatey/infrastructure.app/runners/GenericRunner.cs @@ -113,11 +113,13 @@ now be in a bad state. Only official builds are to be trusted. return command; } - private static void set_source_type(ChocolateyConfiguration config) + private void set_source_type(ChocolateyConfiguration config) { var sourceType = SourceType.normal; Enum.TryParse(config.Sources, true, out sourceType); config.SourceType = sourceType; + + this.Log().Debug(()=> "The source '{0}' evaluated to a '{1}' source type".format_with(config.Sources,sourceType.to_string())); } public void run(ChocolateyConfiguration config, Container container, bool isConsole, Action parseArgs)