Skip to content

Commit

Permalink
Merge pull request #45 from No06/master
Browse files Browse the repository at this point in the history
fix: path contains unescaped characters
  • Loading branch information
thadguidry committed May 8, 2024
2 parents f942f41 + a791170 commit b910cf2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ async function deleteOlderReleases(keepLatest, keepMinDownloadCount, deleteExpir
try {
const _ = await fetch({
...commonOpts,
path: `/repos/${owner}/${repo}/git/refs/tags/${tagName}`,
path: `/repos/${owner}/${repo}/git/refs/tags/${encodeURI(tagName)}`,
method: "DELETE",
});
} catch (error) {
Expand Down

0 comments on commit b910cf2

Please sign in to comment.