diff options
author | Forrest L Norvell <forrest@npmjs.com> | 2014-06-06 08:34:31 +0400 |
---|---|---|
committer | Forrest L Norvell <forrest@npmjs.com> | 2014-06-13 23:44:43 +0400 |
commit | bb369f71a2fc4ba1c1fbfc3da41a4b1d11becca2 (patch) | |
tree | 5aa01a3635b911b6ebf671d3bec4878157373138 /node_modules/npm-registry-client/lib/tag.js | |
parent | 1c2938189122c0640b9403746a6bfed4d6142b27 (diff) |
upgrade to npm-registry-client@2.0.0
Diffstat (limited to 'node_modules/npm-registry-client/lib/tag.js')
-rw-r--r-- | node_modules/npm-registry-client/lib/tag.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/node_modules/npm-registry-client/lib/tag.js b/node_modules/npm-registry-client/lib/tag.js index d7ebf08a6..65430fe93 100644 --- a/node_modules/npm-registry-client/lib/tag.js +++ b/node_modules/npm-registry-client/lib/tag.js @@ -1,6 +1,5 @@ - module.exports = tag -function tag (project, version, tagName, cb) { - this.request("PUT", project+"/"+tagName, JSON.stringify(version), cb) +function tag (uri, version, tagName, cb) { + this.request("PUT", uri+"/"+tagName, { body : JSON.stringify(version) }, cb) } |