diff options
Diffstat (limited to 'lib/run-script.js')
-rw-r--r-- | lib/run-script.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/run-script.js b/lib/run-script.js index 4a4d2dc61..17b48abf8 100644 --- a/lib/run-script.js +++ b/lib/run-script.js @@ -5,7 +5,7 @@ var lifecycle = require("./utils/lifecycle.js") , npm = require("./npm.js") , path = require("path") , readJson = require("./utils/read-json.js") - , log = require("./utils/log.js") + , log = require("npmlog") , chain = require("slide").chain , fs = require("graceful-fs") , asyncMap = require("slide").asyncMap @@ -92,7 +92,7 @@ function run (pkg, wd, cmd, cb) { if (!cmd.match(/^(pre|post)/)) { cmds = ["pre"+cmd].concat(cmds).concat("post"+cmd) } - log.verbose(cmds, "run-script") + log.verbose("run-script", cmds) chain(cmds.map(function (c) { // when running scripts explicitly, assume that they're trusted. return [lifecycle, pkg, c, wd, true] |