diff options
author | Joshua Bennett <legodude17@users.noreply.github.com> | 2018-05-23 07:28:36 +0300 |
---|---|---|
committer | Rebecca Turner <me@re-becca.org> | 2018-05-24 04:21:48 +0300 |
commit | be5dd0f496ec1485b1ea3094c479dfc17bd50d82 (patch) | |
tree | 43613dde5ae10ea5348a4f9638af2a54202179fe /lib/ci.js | |
parent | 0e1726c0350a02d5a60f5fddb1e69c247538625e (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.js | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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) } |