Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
crowlKats committed Sep 11, 2024
1 parent 5ae8891 commit fa01540
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions src/install.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,10 +30,8 @@ async function install(version, binaryName) {
const zipPath = await tc.downloadTool(url);
const extractedFolder = await tc.extractZip(zipPath);

(await fs.readdir(extractedFolder)).map(e => core.info(e));

if (binaryName !== "deno") {
//await fs.rename(extractedFolder, extractedFolder);
await fs.rename(path.join(extractedFolder, "deno"), path.join(extractedFolder, binaryName));
}

const newCachedPath = await tc.cacheDir(
Expand Down

0 comments on commit fa01540

Please sign in to comment.