Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRebecca Turner <me@re-becca.org>2015-07-23 10:06:05 +0300
committerRebecca Turner <me@re-becca.org>2015-07-25 05:45:19 +0300
commit423d8f7e8a291ecceab121b9d2ea207c809e17fd (patch)
tree012082a9640e7c15ec131ed27e15024651155989 /bin/npm-cli.js
parent28ebc6c227c0347ac429ac01bbf01ce33f2eda5c (diff)
config: Add option to turn off progress bars
PR-URL: https://github.com/npm/npm/pull/9037 Fixes: https://github.com/npm/npm/issues/8704
Diffstat (limited to 'bin/npm-cli.js')
-rwxr-xr-xbin/npm-cli.js2
1 files changed, 0 insertions, 2 deletions
diff --git a/bin/npm-cli.js b/bin/npm-cli.js
index c60fd737e..60d00bf29 100755
--- a/bin/npm-cli.js
+++ b/bin/npm-cli.js
@@ -19,7 +19,6 @@
var log = require('npmlog')
log.pause() // will be unpaused when config is loaded.
- log.enableProgress()
log.info('it worked if it ends with', 'ok')
@@ -72,7 +71,6 @@
conf._exit = true
npm.load(conf, function (er) {
if (er) return errorHandler(er)
- log.enableProgress()
npm.commands[npm.command](npm.argv, errorHandler)
})