We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 157d06e commit e05b101Copy full SHA for e05b101
2 files changed
index.d.ts
@@ -80,7 +80,7 @@ export type Options = {
80
const run = async () => { … };
81
82
const result = await pRetry(run, {
83
- shouldRetry: ({error, attemptNumber, retriesLeft}) => !(error instanceof CustomError);
+ shouldRetry: ({error, attemptNumber, retriesLeft}) => !(error instanceof CustomError)
84
});
85
```
86
readme.md
@@ -111,7 +111,7 @@ import pRetry from 'p-retry';
111
112
113
114
115
116
117
0 commit comments