File tree 1 file changed +4
-4
lines changed
1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -8,8 +8,8 @@ import { URL } from 'url';
8
8
import * as https from 'https' ;
9
9
import * as request from './request' ;
10
10
import { DownloadPlatform } from './download' ;
11
- import * as createHttpProxyAgent from 'https-proxy-agent' ;
12
- import * as createHttpsProxyAgent from 'http-proxy-agent' ;
11
+ import * as createHttpsProxyAgent from 'https-proxy-agent' ;
12
+ import * as createHttpProxyAgent from 'http-proxy-agent' ;
13
13
import { readFileSync } from 'fs' ;
14
14
15
15
export let systemDefaultPlatform : string ;
@@ -34,8 +34,8 @@ export function getVSCodeDownloadUrl(version: string, platform?: DownloadPlatfor
34
34
return `https://update.code.visualstudio.com/${ version } /${ downloadPlatform } /stable` ;
35
35
}
36
36
37
- let PROXY_AGENT : createHttpProxyAgent . HttpsProxyAgent | undefined = undefined ;
38
- let HTTPS_PROXY_AGENT : createHttpsProxyAgent . HttpProxyAgent | undefined = undefined ;
37
+ let PROXY_AGENT : createHttpProxyAgent . HttpProxyAgent | undefined = undefined ;
38
+ let HTTPS_PROXY_AGENT : createHttpsProxyAgent . HttpsProxyAgent | undefined = undefined ;
39
39
40
40
if ( process . env . npm_config_proxy ) {
41
41
PROXY_AGENT = createHttpProxyAgent ( process . env . npm_config_proxy ) ;
You can’t perform that action at this time.
0 commit comments