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
path: root/lib/ci.js
diff options
context:
space:
mode:
authorJoshua Bennett <legodude17@users.noreply.github.com>2018-05-23 07:28:36 +0300
committerRebecca Turner <me@re-becca.org>2018-05-24 04:21:48 +0300
commitbe5dd0f496ec1485b1ea3094c479dfc17bd50d82 (patch)
tree43613dde5ae10ea5348a4f9638af2a54202179fe /lib/ci.js
parent0e1726c0350a02d5a60f5fddb1e69c247538625e (diff)
ci: pause log before logging summary (#20715)
Fixes: https://npm.community/t/61 PR-URL: https://github.com/npm/npm/pull/20715 Credit: @legodude17 Reviewed-By: @zkat
Diffstat (limited to 'lib/ci.js')
-rw-r--r--lib/ci.js9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/ci.js b/lib/ci.js
index 94b01235e..e71d89cfd 100644
--- a/lib/ci.js
+++ b/lib/ci.js
@@ -29,9 +29,12 @@ function ci (args, cb) {
})
.run()
.then(
- (details) => console.error(`added ${details.pkgCount} packages in ${
- details.runTime / 1000
- }s`)
+ (details) => {
+ npmlog.disableProgress()
+ console.error(`added ${details.pkgCount} packages in ${
+ details.runTime / 1000
+ }s`)
+ }
)
.then(() => cb(), cb)
}