mirror of
https://github.com/oven-sh/setup-bun.git
synced 2025-07-18 04:28:28 +02:00
refactor: remove unnecesary loging, decrease retries
This commit is contained in:
parent
70e072279f
commit
27da3459ca
1 changed files with 1 additions and 2 deletions
|
@ -88,8 +88,7 @@ export default async (options: Input): Promise<Output> => {
|
|||
if (!cacheHit) {
|
||||
info(`Downloading a new version of Bun: ${url}`);
|
||||
// TODO: remove this, temporary fix for https://github.com/oven-sh/setup-bun/issues/73
|
||||
revision = await retry(async () => await downloadBun(url, bunPath), 5);
|
||||
console.log("Downloaded Bun revision: " + revision);
|
||||
revision = await retry(async () => await downloadBun(url, bunPath), 3);
|
||||
}
|
||||
|
||||
if (!revision) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue