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

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRebecca Turner <me@re-becca.org>2017-02-25 03:17:18 +0300
committerRebecca Turner <me@re-becca.org>2017-04-15 06:16:22 +0300
commitf5e8becd05e0426379eb0c999abdbc8e87a7f6f2 (patch)
treed2082596c8b85dba7278690f1f6e9f04628d2400 /bin/npm-cli.js
parent8abb3c4e8f93892a3c60e51feb6c268eeb5605b4 (diff)
npm: Add timing diagnostics on --loglevel=timing
Diffstat (limited to 'bin/npm-cli.js')
-rwxr-xr-xbin/npm-cli.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/npm-cli.js b/bin/npm-cli.js
index 14937d64f..a83efdd54 100755
--- a/bin/npm-cli.js
+++ b/bin/npm-cli.js
@@ -57,7 +57,7 @@
if (conf.version) {
console.log(npm.version)
- return
+ return errorHandler.exit(0)
}
if (conf.versions) {