diff options
Diffstat (limited to 'cli.js')
-rwxr-xr-x | cli.js | 6 |
1 files changed, 2 insertions, 4 deletions
@@ -74,9 +74,7 @@ else { arglist.unshift(command) command = "help" } - ini.resolveConfigs(conf, function (er) { - if (er) return errorHandler(er) - npm.config.set("root", ini.get("root")) + npm.load({ conf: conf, exit: true }, function (err, loaded) { npm.commands[command](arglist, errorHandler) - }) + }); } |