Skip to content

Commit

Permalink
Fix typo in the readme (#28)
Browse files Browse the repository at this point in the history
  • Loading branch information
dguo authored and sindresorhus committed Aug 29, 2019
1 parent 2295fca commit d4dc5e8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ const run = async () => {

### pRetry(input, [options])

Returns a `Promise` that is fulfilled when calling `input` returns a fulfilled promise. If calling `input` returns a rejected promise, `input` is called again until the max retries are reached, it then rejects with the last rejection reason.
Returns a `Promise` that is fulfilled when calling `input` returns a fulfilled promise. If calling `input` returns a rejected promise, `input` is called again until the maximum number of retries is reached. It then rejects with the last rejection reason.

It doesn't retry on `TypeError` as that's a user error.

Expand Down

0 comments on commit d4dc5e8

Please sign in to comment.