Open weq opened 4 years ago
https://github.com/PowerShell/vscode-powershell/blob/c3c2e098c45929083dbc927694495a11bf0019a6/src/features/UpdatePowerShell.ts#L132 guess this is the culprit that needs to be changed slightly.
Edit: Changed to correct line for -proxy
suppliment
System Details
System Details Output
Issue Description
I am experiencing a problem with the auto update feature in PS extension for VSCode.
Expected Behaviour
If http.proxy and/or https.proxy is configured in any settings.json, the same proxy should be used with the Invoke-RestMethod -proxy
Actual Behaviour
Invoke-Restmethod with no -proxy will cause the auto update to fail as it can't download the installer.
Attached Logs
No logs, as I manually upgraded before saving them but you can clearly see what is happening in console that there is no -proxy etc.