diff options
Diffstat (limited to 'bin/npm-cli.js')
-rwxr-xr-x | bin/npm-cli.js | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/bin/npm-cli.js b/bin/npm-cli.js index a71985b37..79e5c9702 100755 --- a/bin/npm-cli.js +++ b/bin/npm-cli.js @@ -50,10 +50,9 @@ if (conf.version) { } if (conf.versions) { - var v = process.versions - v.npm = npm.version - console.log(v) - return + npm.command = "version" + conf.usage = false + npm.argv = [] } log.info("using", "npm@%s", npm.version) |