Skip to content

Commit a85b48c

Browse files
MylesBorinsjasnell
authored andcommitted
deps: float patch on npm to fix citgm
This floats npm/npm#16791 onto npm v5.0.0 to fix an edge case that was found in citgm PR-URL: #13305 Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Evan Lucas <evanlucas@me.com>
1 parent 399cb25 commit a85b48c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

deps/npm/lib/view.js

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -300,9 +300,7 @@ function printData (data, name, cb) {
300300
log.disableProgress()
301301

302302
// print directly to stdout to not unnecessarily add blank lines
303-
process.stdout.write(msg)
304-
305-
cb(null, data)
303+
process.stdout.write(msg, () => cb(null, data))
306304
}
307305
function cleanup (data) {
308306
if (Array.isArray(data)) {

0 commit comments

Comments
 (0)