mirror of
https://gitea.com/actions/checkout.git
synced 2026-10-17 17:36:46 +08:00
.
This commit is contained in:
1 parent
317b5f36ae
commit
9a43814785
8 files changed
+24
-19
No files matched your search
@@ -68,7 +68,7 @@ describe('retry-helper tests', () => {
|
||||
|
||||
it('all attempts fail succeeds', async () => {
|
||||
let attempts = 0
|
||||
let error: Error = (null as unknown) as Error
|
||||
let error: Error = null as unknown as Error
|
||||
try {
|
||||
await retryHelper.execute(() => {
|
||||
throw new Error(`some error ${++attempts}`)
|
||||
|
||||
Reference in new issue
Block a user