diff --git a/dist/utils/install.js b/dist/utils/install.js index bd10233..2b43cb2 100644 --- a/dist/utils/install.js +++ b/dist/utils/install.js @@ -19,7 +19,7 @@ export default async (release) => { info(`Cached Bun to ${newCache}.`); addPath(newCache); console.log(extracted); - const bunPath = join(getHomeDir(), ".bun", "bin", asset.name.replaceAll('.zip', '')); + const bunPath = join(getHomeDir(), ".bun", "bin", asset.name.replace('.zip', '')); console.log(readdirSync(bunPath)); addPath(bunPath); }; diff --git a/src/utils/install.ts b/src/utils/install.ts index c30c196..6c26621 100644 --- a/src/utils/install.ts +++ b/src/utils/install.ts @@ -31,7 +31,7 @@ export default async(release: Release) => { addPath(newCache); console.log(extracted); - const bunPath = join(getHomeDir(), ".bun", "bin", asset.name.replaceAll('.zip', '')); + const bunPath = join(getHomeDir(), ".bun", "bin", asset.name.replace('.zip', '')); console.log(readdirSync(bunPath)); addPath(bunPath); } \ No newline at end of file