mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-18 04:28:28 +02:00
aaaaaaaaa
This commit is contained in:
parent
8c96e64ebf
commit
763bd6cb74
4 changed files with 14 additions and 8 deletions
5
dist/utils/getAsset.js
vendored
5
dist/utils/getAsset.js
vendored
|
@ -21,5 +21,8 @@ export default (assets) => {
|
|||
default:
|
||||
throw new Error(`Unsupported platform ${process.platform}.`);
|
||||
}
|
||||
return assets.find(asset => asset.name === `bun-${platform}-${arch}.zip`);
|
||||
return {
|
||||
name: `bun-${platform}-${arch}.zip`,
|
||||
asset: assets.find(asset => asset.name === `bun-${platform}-${arch}.zip`),
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue