chore: debug

This commit is contained in:
xHyroM 2022-07-28 08:35:10 +02:00
parent f5a14b237f
commit b3fb4f3421
2 changed files with 4 additions and 2 deletions

View file

@ -23,7 +23,7 @@ export default async(release: Release, token: string) => {
headers: {
'Authorization': `token ${token}`
}
})).text()
})).arrayBuffer()
console.log(new URL(asset.asset.browser_download_url).host.includes('github.com'));
const zipPath = await downloadTool(
@ -34,6 +34,7 @@ export default async(release: Release, token: string) => {
'Authorization': `token ${token}`
}
);
console.log(zipPath)
const extracted = await extractZip(zipPath, join(homedir(), '.bun', 'bin'));