Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorisaacs <i@izs.me>2011-02-16 21:08:40 +0300
committerisaacs <i@izs.me>2011-02-16 21:08:40 +0300
commitf0e515e20ce9d1959b02e936e9f77eb5bbeb2267 (patch)
treede802e27f2659285e87fe32bb1cc2ae7def024f2 /lib/utils/default-config.js
parent87b210bf015a6f3c2d0a896e03f0ff5ea058ee17 (diff)
Prefer env.HTTP_PROXY over env.http_proxy
Diffstat (limited to 'lib/utils/default-config.js')
-rw-r--r--lib/utils/default-config.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/utils/default-config.js b/lib/utils/default-config.js
index 61e571970..c66209e98 100644
--- a/lib/utils/default-config.js
+++ b/lib/utils/default-config.js
@@ -37,7 +37,7 @@ module.exports =
, "node-version" : process.version
, "onload-script" : false
, outfd : stdio.stdoutFD
- , proxy : process.env.http_proxy || null
+ , proxy : process.env.HTTP_PROXY || process.env.http_proxy || null
, prune : undefined // if set to boolean false, then that means "never"
, "rebuild-bundle" : true
, recursive : false