diff options
author | isaacs <i@izs.me> | 2011-03-11 12:46:25 +0300 |
---|---|---|
committer | isaacs <i@izs.me> | 2011-03-22 01:56:02 +0300 |
commit | 1b291e6a9261c400c333d426204d469755104af1 (patch) | |
tree | b59fdb1e3cb2a2dc891cbda7d86b6a0d326cb482 /npm.js | |
parent | 47f4c5e2bb432cfeea397bd9a6507e288d8331e6 (diff) |
If a prefix explicitly set, then be global about it
Diffstat (limited to 'npm.js')
-rw-r--r-- | npm.js | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -180,6 +180,7 @@ npm.load = function (conf, cb_) { log.verbose("node symlink", node) process.execPath = node } + if (conf.hasOwnProperty("prefix")) conf.global = true ini.resolveConfigs(conf, function (er) { if (er) return handleError(er) var p |