diff options
-rw-r--r-- | lib/init.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/init.js b/lib/init.js index 925654bee..401e700af 100644 --- a/lib/init.js +++ b/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) }) } |