Skip to content

Commit

Permalink
fix(npm-dist-tag): Port upstream npm/cli#235
Browse files Browse the repository at this point in the history
  • Loading branch information
evocateur committed Oct 15, 2019
1 parent f6b1140 commit 5a1d229
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions utils/npm-dist-tag/npm-dist-tag.js
Expand Up @@ -83,6 +83,7 @@ function remove(spec, tag, _opts, otpCache) {
const uri = `/-/package/${opts.spec.escapedName}/dist-tags/${encodeURIComponent(tag)}`;
const payload = opts.concat({
method: "DELETE",
spec: opts.spec,
});

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

0 comments on commit 5a1d229

Please sign in to comment.