mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-18 04:28:28 +02:00
fix: use asset.name
This commit is contained in:
parent
32f942a87d
commit
36bc669fea
4 changed files with 6 additions and 6 deletions
2
dist/utils/getAsset.js
vendored
2
dist/utils/getAsset.js
vendored
|
@ -13,7 +13,7 @@ export default (assets) => {
|
|||
if (!['linux', 'darwin'].some(platform => process.platform === platform))
|
||||
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