Skip to content

Commit c264a3b

Browse files
committed
Add support for ALL_PROXY environment variable
1 parent fa2707e commit c264a3b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/proc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,7 @@ export function patchOSEnviron({ caller, extraPath, extraVars }) {
8282
// Configure NO_PROXY for PIO Home
8383
process.env.NO_PROXY =
8484
'127.0.0.1' + (process.env.NO_PROXY ? `,${process.env.NO_PROXY}` : '');
85-
if (process.env.HTTP_PROXY || process.env.HTTPS_PROXY) {
85+
if (process.env.HTTP_PROXY || process.env.HTTPS_PROXY || process.env.ALL_PROXY) {
8686
process.env.GLOBAL_AGENT_ENVIRONMENT_VARIABLE_NAMESPACE = '';
8787
bootstrap();
8888
}

0 commit comments

Comments
 (0)