Permalink
Browse files

Changed no-proxy into noproxy.

  • Loading branch information...
1 parent 6da4ea0 commit 04acc40df877a8fbe4bdf355b2a071a51262ad61 @vvision committed Oct 16, 2012
Showing with 2 additions and 2 deletions.
  1. +1 −1 doc/cli/config.md
  2. +1 −1 lib/utils/fetch.js
View
@@ -527,7 +527,7 @@ Any "%s" in the message will be replaced with the version number.
The node version to use when checking package's "engines" hash.
-### no-proxy
+### noproxy
* Default: `NO_PROXY` or `no_proxy` environment variable, or "null"
* Type: String
View
@@ -67,7 +67,7 @@ function makeRequest (remote, fstr, headers) {
var proxy = null
, useProxy = true
- , noProxy = npm.config.get("no-proxy") || "null"
+ , noProxy = npm.config.get("noproxy") || "null"
, noProxyTab = noProxy.split(",")
for(var i = 0, len = noProxyTab.length; i < len; ++i) {

0 comments on commit 04acc40

Please sign in to comment.