summaryrefslogtreecommitdiff
path: root/deps/npm/lib/build.js
diff options
context:
space:
mode:
authorKat Marchán <kzm@sykosomatic.org>2017-05-09 14:46:02 -0700
committerAnna Henningsen <anna@addaleax.net>2017-05-23 19:39:43 +0200
commitc0d858f8bb8ba5212548da2fba6a7bc02db0462b (patch)
tree99f043ec5aec3f5150a2aed0f62597234b158140 /deps/npm/lib/build.js
parent994617370e8e66f3ea9488fec32fd912e7902396 (diff)
downloadnode-new-c0d858f8bb8ba5212548da2fba6a7bc02db0462b.tar.gz
deps: upgrade npm beta to 5.0.0-beta.56
PR-URL: https://github.com/nodejs/node/pull/12936 Reviewed-By: Anna Henningsen <anna@addaleax.net>
Diffstat (limited to 'deps/npm/lib/build.js')
-rw-r--r--deps/npm/lib/build.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/npm/lib/build.js b/deps/npm/lib/build.js
index e6f600799d..5dd243a795 100644
--- a/deps/npm/lib/build.js
+++ b/deps/npm/lib/build.js
@@ -211,7 +211,7 @@ function linkBins (pkg, folder, parent, gtop, cb) {
var out = npm.config.get('parseable')
? dest + '::' + src + ':BINFILE'
: dest + ' -> ' + src
- output(out)
+ if (!npm.config.get('json') && !npm.config.get('parseable')) output(out)
cb()
})
}