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:
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) {