mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-02-23 02:30:26 +08:00
chore: debug
This commit is contained in:
parent
962df21a50
commit
bc3424761e
@ -23,7 +23,7 @@ export default async(release: Release, token: string) => {
|
||||
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'));
|
||||
|
Loading…
x
Reference in New Issue
Block a user