From d985ca7d4aebec994c4d9c053d6eb346a1da3fb2 Mon Sep 17 00:00:00 2001 From: Myles Borins Date: Tue, 30 May 2017 12:22:53 -0400 Subject: [PATCH] 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 Reviewed-By: James M Snell Reviewed-By: Evan Lucas --- deps/npm/lib/view.js | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/deps/npm/lib/view.js b/deps/npm/lib/view.js index 733cf60e5f1e98..2f06aea624dc03 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)) {