diff options
author | Myles Borins <mylesborins@google.com> | 2017-05-30 19:22:53 +0300 |
---|---|---|
committer | James M Snell <jasnell@gmail.com> | 2017-05-30 20:08:40 +0300 |
commit | d985ca7d4aebec994c4d9c053d6eb346a1da3fb2 (patch) | |
tree | e405b9b4cba442b7080e2de89502f86cd85e2216 | |
parent | 6083c4dc102b4da306faaf81469e33687f30daf1 (diff) |
deps: float patch on npm to fix citgm
This floats https://github.com/npm/npm/pull/16791 onto npm v5.0.0
to fix an edge case that was found in citgm
PR-URL: https://github.com/nodejs/node/pull/13305
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Evan Lucas <evanlucas@me.com>
-rw-r--r-- | deps/npm/lib/view.js | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/deps/npm/lib/view.js b/deps/npm/lib/view.js index 733cf60e5f1..2f06aea624d 100644 --- a/deps/npm/lib/view.js +++ b/deps/npm/lib/view.js @@ -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)) { |