mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-18 04:28:28 +02:00
chore: debug
This commit is contained in:
parent
bc3424761e
commit
3b03c8d63a
1 changed files with 1 additions and 1 deletions
2
dist/utils/install.js
vendored
2
dist/utils/install.js
vendored
|
@ -19,7 +19,7 @@ export default async (release, token) => {
|
|||
headers: {
|
||||
'Authorization': `token ${token}`
|
||||
}
|
||||
})).json());
|
||||
})).text());
|
||||
const zipPath = await downloadTool(asset.asset.browser_download_url, new URL(asset.asset.browser_download_url).host === 'github.com' ? `token ${token}` : '');
|
||||
const extracted = await extractZip(zipPath, join(homedir(), '.bun', 'bin'));
|
||||
const newCache = await cacheDir(extracted, 'bun', release.version);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue