Skip to content

Commit

Permalink
feat: respect only HTTPS_PROXY, not https_proxy
Browse files Browse the repository at this point in the history
  • Loading branch information
jnsgruk committed Nov 8, 2023
1 parent 4ebce3c commit 7384251
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions src/node/scripts/fetch-prebuild.js
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,6 @@ function download() {
if (process.env.HTTPS_PROXY != undefined) {
options.agent = new HttpsProxyAgent(process.env.HTTPS_PROXY);
}
if (process.env.https_proxy != undefined) {
options.agent = new HttpsProxyAgent(process.env.https_proxy);
}

https.get(URL, options, async res => {
try {
const out = fs.createWriteStream(tmpFile);
Expand Down

0 comments on commit 7384251

Please sign in to comment.