summaryrefslogtreecommitdiff
path: root/deps/npm/lib/dist-tag.js
diff options
context:
space:
mode:
Diffstat (limited to 'deps/npm/lib/dist-tag.js')
-rw-r--r--deps/npm/lib/dist-tag.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/deps/npm/lib/dist-tag.js b/deps/npm/lib/dist-tag.js
index 176e61221e..64bb97b61a 100644
--- a/deps/npm/lib/dist-tag.js
+++ b/deps/npm/lib/dist-tag.js
@@ -119,7 +119,8 @@ function remove (spec, tag, opts) {
delete tags[tag]
const url = `/-/package/${spec.escapedName}/dist-tags/${encodeURIComponent(tag)}`
const reqOpts = opts.concat({
- method: 'DELETE'
+ method: 'DELETE',
+ spec
})
return otplease(reqOpts, reqOpts => regFetch(url, reqOpts)).then(() => {
output(`-${tag}: ${spec.name}@${version}`)