diff options
author | smikes <smikes@cubane.com> | 2014-11-13 00:45:33 +0300 |
---|---|---|
committer | Forrest L Norvell <forrest@npmjs.com> | 2014-11-13 01:57:03 +0300 |
commit | 1ac9be9f3bab816211d72d13cb05b5587878a586 (patch) | |
tree | 23cba9b0c505ed2d3a892570a75103534ba0b842 | |
parent | 6013b334680782ad21ffa1f63b22de98180468fd (diff) |
init: dont report write if canceled
-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) }) } |