diff options
Diffstat (limited to 'deps/npm/lib/init.js')
-rw-r--r-- | deps/npm/lib/init.js | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/deps/npm/lib/init.js b/deps/npm/lib/init.js index e3eb3d40dd5..a5d102c1f31 100644 --- a/deps/npm/lib/init.js +++ b/deps/npm/lib/init.js @@ -5,15 +5,17 @@ module.exports = init var log = require('npmlog') var npm = require('./npm.js') var initJson = require('init-package-json') +var output = require('./utils/output.js') init.usage = 'npm init [--force|-f|--yes|-y]' function init (args, cb) { var dir = process.cwd() log.pause() + log.disableProgress() var initFile = npm.config.get('init-module') if (!initJson.yes(npm.config)) { - console.log([ + output([ 'This utility will walk you through creating a package.json file.', 'It only covers the most common items, and tries to guess sensible defaults.', '', |