diff options
author | isaacs <i@izs.me> | 2014-05-13 05:15:01 +0400 |
---|---|---|
committer | isaacs <i@izs.me> | 2014-05-13 05:15:01 +0400 |
commit | ea8fc64f7fd798cbbb56197b1662b399bfd8fec4 (patch) | |
tree | 27c5dc844910122eb3b38e58d7df5946873e076b /lib/npm.js | |
parent | 77462d2c1885a1c5e3761221b4902a99e3df46b7 (diff) |
Send npm version as 'version' header
Diffstat (limited to 'lib/npm.js')
-rw-r--r-- | lib/npm.js | 1 |
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 |