Navigation Menu

Skip to content
This repository has been archived by the owner on Aug 11, 2022. It is now read-only.

Commit

Permalink
ci: pause log before logging summary (#20715)
Browse files Browse the repository at this point in the history
Fixes: https://npm.community/t/61
PR-URL: #20715
Credit: @legodude17
Reviewed-By: @zkat
  • Loading branch information
legodude17 authored and iarna committed May 24, 2018
1 parent 0e1726c commit be5dd0f
Showing 1 changed file with 6 additions and 3 deletions.
9 changes: 6 additions & 3 deletions lib/ci.js
Expand Up @@ -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)
}

0 comments on commit be5dd0f

Please sign in to comment.