diff --git a/lib/NuGet-Chocolatey/NuGet.Core.dll b/lib/NuGet-Chocolatey/NuGet.Core.dll index 33be2bb1d1..dcd789fe8c 100644 Binary files a/lib/NuGet-Chocolatey/NuGet.Core.dll and b/lib/NuGet-Chocolatey/NuGet.Core.dll differ diff --git a/src/chocolatey/infrastructure.app/nuget/NugetCommon.cs b/src/chocolatey/infrastructure.app/nuget/NugetCommon.cs index 4c3c3171a9..d1bad79f5d 100644 --- a/src/chocolatey/infrastructure.app/nuget/NugetCommon.cs +++ b/src/chocolatey/infrastructure.app/nuget/NugetCommon.cs @@ -78,7 +78,7 @@ public static IPackageRepository GetRemoteRepository(ChocolateyConfiguration con if (!string.IsNullOrWhiteSpace(configuration.Proxy.BypassList)) { - "chocolatey".Log().Debug("Proxy has a bypass list of {0}"); + "chocolatey".Log().Debug("Proxy has a bypass list of '{0}'."); proxy.BypassList = configuration.Proxy.BypassList.Split(new[] { ',' }, StringSplitOptions.RemoveEmptyEntries); } @@ -107,8 +107,8 @@ public static IPackageRepository GetRemoteRepository(ChocolateyConfiguration con if (machineSource != null) { - "chocolatey".Log().Debug("Source '{0}' is configured to bypass proxies.".format_with(source)); bypassProxy = machineSource.BypassProxy; + if (bypassProxy) "chocolatey".Log().Debug("Source '{0}' is configured to bypass proxies.".format_with(source)); } } catch (Exception ex)