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 <turner@mikomi.org>2014-12-09 01:02:15 +0300
committerRebecca Turner <me@re-becca.org>2015-06-26 03:26:38 +0300
commit192d5e09c685c40c7d48fa4a732ef2da6156886d (patch)
tree72fcdf3affeb0f79bbd6304fdd9c1bdc8cb97e16 /bin/npm-cli.js
parentad0153f0c9edc3dbe2bd613e76184aa372153232 (diff)
Swap the spinner out for the new progress bar code in npmlog
Diffstat (limited to 'bin/npm-cli.js')
-rwxr-xr-xbin/npm-cli.js2
1 files changed, 2 insertions, 0 deletions
diff --git a/bin/npm-cli.js b/bin/npm-cli.js
index ace40ca79..b01e8477e 100755
--- a/bin/npm-cli.js
+++ b/bin/npm-cli.js
@@ -17,6 +17,8 @@ process.title = "npm"
var log = require("npmlog")
log.pause() // will be unpaused when config is loaded.
+log.enableProgress()
+
log.info("it worked if it ends with", "ok")
var path = require("path")