mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-18 12:38:24 +02:00
fix: use asset.name
This commit is contained in:
parent
32f942a87d
commit
36bc669fea
4 changed files with 6 additions and 6 deletions
|
@ -17,7 +17,7 @@ export default (assets: Asset[]) => {
|
|||
throw new Error(`Unsupported platform ${process.platform}.`);
|
||||
|
||||
return {
|
||||
name: `bun-${process.platform}-${arch}.zip`,
|
||||
name: `bun-${process.platform}-${arch}`,
|
||||
asset: assets.find(asset => asset.name === `bun-${process.platform}-${arch}.zip`),
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue