Skip to content

Commit 252da50

Browse files
Chore: Disabling proxy
1 parent d3dd8d7 commit 252da50

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

bin/helpers/atsHelper.js

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,9 +59,11 @@ exports.getTurboScaleGridDetails = async (bsConfig, args, rawArgs) => {
5959
}
6060
};
6161

62-
if(process.env.HTTP_PROXY){
62+
if (process.env.HTTP_PROXY) {
63+
options.proxy = false;
6364
options.httpsAgent = new HttpsProxyAgent(process.env.HTTP_PROXY);
64-
} else if (process.env.HTTPS_PROXY){
65+
} else if (process.env.HTTPS_PROXY) {
66+
options.proxy = false
6567
options.httpsAgent = new HttpsProxyAgent(process.env.HTTPS_PROXY);
6668
}
6769

0 commit comments

Comments
 (0)