Skip to content

Commit

Permalink
Build
Browse files Browse the repository at this point in the history
  • Loading branch information
pbrisbin committed Dec 2, 2024
1 parent 0b42a27 commit 83341cc
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -445,6 +445,9 @@ function download(releaseConfig) {
core.info("Downloading without extraction");
tmp = path.join(os.homedir(), "tmp", tool.name);
dest = path.join(tmp, tool.name);
if (fs.existsSync(dest)) {
fs.unlinkSync(dest);
}
return [4, tc.downloadTool(url, dest, auth, headers)];
case 1:
_a.sent();
Expand Down

0 comments on commit 83341cc

Please sign in to comment.