mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-18 12:38:24 +02:00
fix: use replace
This commit is contained in:
parent
763bd6cb74
commit
ce4c816086
2 changed files with 2 additions and 2 deletions
|
@ -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);
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue