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 {
32
32
return
33
33
}
34
34
35
- logger . debug ( `using $HTTP_PROXY ${ process . env . HTTP_PROXY } ` )
35
+ logger . debug ( `using $HTTP_PROXY ${ proxyURL } ` )
36
36
37
37
let pa : http . Agent
38
38
// 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 {
42
42
// I can't enable esModuleInterop in VS Code's build process as it breaks and spits out
43
43
// a huge number of errors.
44
44
if ( vscode ) {
45
- pa = new ( proxyagent as any ) ( process . env . HTTP_PROXY )
45
+ pa = new ( proxyagent as any ) ( proxyURL )
46
46
} else {
47
- pa = new ( proxyagent as any ) . default ( process . env . HTTP_PROXY )
47
+ pa = new ( proxyagent as any ) . default ( proxyURL )
48
48
}
49
49
50
50
/**
You can’t perform that action at this time.
0 commit comments