We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46e7bca commit f59d346Copy full SHA for f59d346
source/Chocolatey.AutoUpdater/Components/AppModel.cs
@@ -55,7 +55,7 @@ private ProcessStartInfo FillProcessStartInfo(string args, ProcessStartInfo star
55
56
private string GetArgments()
57
{
58
- if (string.IsNullOrWhiteSpace(_config.ProxyUrl))
+ if (!string.IsNullOrWhiteSpace(_config.ProxyUrl))
59
60
var proxyCommand = $@"--proxy=""{_config.ProxyUrl}""";
61
return String.Format(" {0} upgrade all -y ", proxyCommand);
0 commit comments