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 'lib/npm.js')
-rw-r--r--lib/npm.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/npm.js b/lib/npm.js
index 3e4d75792..d1932a1e4 100644
--- a/lib/npm.js
+++ b/lib/npm.js
@@ -223,6 +223,7 @@ Object.keys(abbrevs).concat(plumbing).forEach(function addCommand (c) {
npm.spinner.start()
+ npm.registry.version = npm.version
if (!npm.registry.refer) {
npm.registry.refer = [a].concat(args[0]).map(function (arg) {
// exclude anything that might be a URL, path, or private module