refactor: use Bun.sleep instead of Promise setTimeout (#6620)

This commit is contained in:
rari404
2026-01-02 12:12:02 -05:00
committed by GitHub
parent 2685de2a33
commit d8753cda02
3 changed files with 3 additions and 3 deletions

View File

@@ -348,7 +348,7 @@ export const GithubInstallCommand = cmd({
}
retries++
await new Promise((resolve) => setTimeout(resolve, 1000))
await Bun.sleep(1000)
} while (true)
s.stop("Installed GitHub app")