Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
allow --no-proxy to set value of proxy to false
Browse files Browse the repository at this point in the history
This is needed to tell npm-registry-client that it should set an empty
`proxy` field in request's options, so request won't try to use the
HTTP_PROXY value set in the environment.
  • Loading branch information
othiym23 committed Jan 30, 2015
1 parent f9313a0 commit fec4c96
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/config/defaults.js
Original file line number Diff line number Diff line change
Expand Up @@ -287,7 +287,7 @@ exports.types =
, prefix: path
, production: Boolean
, "proprietary-attribs": Boolean
, proxy : [null, url]
, proxy : [null, false, url] // allow explicit registry disabling
, "rebuild-bundle" : Boolean
, registry : [null, url]
, rollback : Boolean
Expand Down

0 comments on commit fec4c96

Please sign in to comment.