Skip to content

Commit 5a1d229

Browse files
committed
fix(npm-dist-tag): Port upstream npm/cli#235
1 parent f6b1140 commit 5a1d229

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/npm-dist-tag/npm-dist-tag.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ function remove(spec, tag, _opts, otpCache) {
8383
const uri = `/-/package/${opts.spec.escapedName}/dist-tags/${encodeURIComponent(tag)}`;
8484
const payload = opts.concat({
8585
method: "DELETE",
86+
spec: opts.spec,
8687
});
8788

8889
// the delete properly returns a 204, so no json to parse

0 commit comments

Comments
 (0)