Skip to content

Commit

Permalink
deps: float patch on npm to fix citgm
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
MylesBorins authored and jasnell committed May 30, 2017
1 parent 6083c4d commit d985ca7
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions deps/npm/lib/view.js
Original file line number Diff line number Diff line change
Expand Up @@ -300,9 +300,7 @@ function printData (data, name, cb) {
log.disableProgress()

// print directly to stdout to not unnecessarily add blank lines
process.stdout.write(msg)

cb(null, data)
process.stdout.write(msg, () => cb(null, data))
}
function cleanup (data) {
if (Array.isArray(data)) {
Expand Down

0 comments on commit d985ca7

Please sign in to comment.