summaryrefslogtreecommitdiff
path: root/deps/npm
diff options
context:
space:
mode:
authorMyles Borins <mylesborins@google.com>2017-05-30 12:22:53 -0400
committerJames M Snell <jasnell@gmail.com>2017-05-30 10:07:29 -0700
commita85b48cbd37e4c0b1cf2f99f2e9f7d30d7fa34cf (patch)
treeb4776ddbde12eac508d8dfe6b06605aba883d67f /deps/npm
parent399cb25f6266a17f0e5ed838b37b9c8299a87224 (diff)
downloadandroid-node-v8-a85b48cbd37e4c0b1cf2f99f2e9f7d30d7fa34cf.tar.gz
android-node-v8-a85b48cbd37e4c0b1cf2f99f2e9f7d30d7fa34cf.tar.bz2
android-node-v8-a85b48cbd37e4c0b1cf2f99f2e9f7d30d7fa34cf.zip
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>
Diffstat (limited to 'deps/npm')
-rw-r--r--deps/npm/lib/view.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/deps/npm/lib/view.js b/deps/npm/lib/view.js
index 733cf60e5f..2f06aea624 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)) {