Skip to content

Commit 5840de0

Browse files
committed
Fix lint errors in runOnce.ts
1 parent 314efad commit 5840de0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/runOnce.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export const runOnce = async <T>(
1515

1616
const promise = Promise.resolve()
1717
.then(async () => await fn())
18-
.catch(error => {
18+
.catch((error: unknown) => {
1919
showError(error, { tag: key })
2020
runRegistry.delete(key)
2121
return undefined

0 commit comments

Comments
 (0)