We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 386af14 commit 3efd515Copy full SHA for 3efd515
src/node/proxy_agent.ts
@@ -32,7 +32,7 @@ export function monkeyPatch(vscode: boolean): void {
32
return
33
}
34
35
- logger.debug(`using $HTTP_PROXY ${process.env.HTTP_PROXY}`)
+ logger.debug(`using $HTTP_PROXY ${proxyURL}`)
36
37
let pa: http.Agent
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
// I can't enable esModuleInterop in VS Code's build process as it breaks and spits out
43
// a huge number of errors.
44
if (vscode) {
45
- pa = new (proxyagent as any)(process.env.HTTP_PROXY)
+ pa = new (proxyagent as any)(proxyURL)
46
} else {
47
- pa = new (proxyagent as any).default(process.env.HTTP_PROXY)
+ pa = new (proxyagent as any).default(proxyURL)
48
49
50
/**
0 commit comments