File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed
Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ export function monkeyPatch(vscode: boolean): void {
3232 return
3333 }
3434
35- logger . debug ( `using $HTTP_PROXY ${ process . env . HTTP_PROXY } ` )
35+ logger . debug ( `using $HTTP_PROXY ${ proxyURL } ` )
3636
3737 let pa : http . Agent
3838 // The reasoning for this split is that VS Code's build process does not have
@@ -42,9 +42,9 @@ export function monkeyPatch(vscode: boolean): void {
4242 // I can't enable esModuleInterop in VS Code's build process as it breaks and spits out
4343 // a huge number of errors.
4444 if ( vscode ) {
45- pa = new ( proxyagent as any ) ( process . env . HTTP_PROXY )
45+ pa = new ( proxyagent as any ) ( proxyURL )
4646 } else {
47- pa = new ( proxyagent as any ) . default ( process . env . HTTP_PROXY )
47+ pa = new ( proxyagent as any ) . default ( proxyURL )
4848 }
4949
5050 /**
You can’t perform that action at this time.
0 commit comments