Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMyles Borins <mylesborins@google.com>2017-05-30 19:22:53 +0300
committerJames M Snell <jasnell@gmail.com>2017-05-30 20:08:40 +0300
commitd985ca7d4aebec994c4d9c053d6eb346a1da3fb2 (patch)
treee405b9b4cba442b7080e2de89502f86cd85e2216
parent6083c4dc102b4da306faaf81469e33687f30daf1 (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.js4
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)) {