Skip to content

Commit f59d346

Browse files
committed
fix chocolatey proxy bug
1 parent 46e7bca commit f59d346

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

source/Chocolatey.AutoUpdater/Components/AppModel.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ private ProcessStartInfo FillProcessStartInfo(string args, ProcessStartInfo star
5555

5656
private string GetArgments()
5757
{
58-
if (string.IsNullOrWhiteSpace(_config.ProxyUrl))
58+
if (!string.IsNullOrWhiteSpace(_config.ProxyUrl))
5959
{
6060
var proxyCommand = $@"--proxy=""{_config.ProxyUrl}""";
6161
return String.Format(" {0} upgrade all -y ", proxyCommand);

0 commit comments

Comments
 (0)