Skip to content

Commit d985ca7

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 <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Evan Lucas <[email protected]>
1 parent 6083c4d commit d985ca7

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

deps/npm/lib/view.js

+1-3
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)