diff options
Diffstat (limited to 'deps/npm/lib/init.js')
-rw-r--r-- | deps/npm/lib/init.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/npm/lib/init.js b/deps/npm/lib/init.js index 925654beef..401e700af3 100644 --- a/deps/npm/lib/init.js +++ b/deps/npm/lib/init.js @@ -31,11 +31,11 @@ function init (args, cb) { initJson(dir, initFile, npm.config, function (er, data) { log.resume() log.silly("package data", data) - log.info("init", "written successfully") if (er && er.message === "canceled") { log.warn("init", "canceled") return cb(null, data) } + log.info("init", "written successfully") cb(er, data) }) } |