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

Commit be5dd0f

Browse files
legodude17iarna
authored andcommitted
ci: pause log before logging summary (#20715)
Fixes: https://npm.community/t/61 PR-URL: #20715 Credit: @legodude17 Reviewed-By: @zkat
1 parent 0e1726c commit be5dd0f

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

lib/ci.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,12 @@ function ci (args, cb) {
2929
})
3030
.run()
3131
.then(
32-
(details) => console.error(`added ${details.pkgCount} packages in ${
33-
details.runTime / 1000
34-
}s`)
32+
(details) => {
33+
npmlog.disableProgress()
34+
console.error(`added ${details.pkgCount} packages in ${
35+
details.runTime / 1000
36+
}s`)
37+
}
3538
)
3639
.then(() => cb(), cb)
3740
}

0 commit comments

Comments
 (0)