diff options
Diffstat (limited to 'deps/npm/bin/npm-cli.js')
-rwxr-xr-x | deps/npm/bin/npm-cli.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/npm/bin/npm-cli.js b/deps/npm/bin/npm-cli.js index 14937d64f2..c8c426f4ad 100755 --- a/deps/npm/bin/npm-cli.js +++ b/deps/npm/bin/npm-cli.js @@ -57,7 +57,7 @@ if (conf.version) { console.log(npm.version) - return + return errorHandler.exit(0) } if (conf.versions) { @@ -83,7 +83,7 @@ if (er) return errorHandler(er) npm.commands[npm.command](npm.argv, function (err) { // https://www.youtube.com/watch?v=7nfPu8qTiQU - if (!err && npm.config.get('ham-it-up')) { + if (!err && npm.config.get('ham-it-up') && !npm.config.get('json') && !npm.config.get('parseable')) { output('\n 🎵 I Have the Honour to Be Your Obedient Servant,🎵 ~ npm 📜🖋\n') } errorHandler.apply(this, arguments) |