Skip to content

Commit

Permalink
Fix typo in ERROR-HANDLING.md:required -> require (#898)
Browse files Browse the repository at this point in the history
  • Loading branch information
bbodela committed Jul 12, 2020
1 parent 8fed313 commit ca50c22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/ERROR-HANDLING.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ The basics:
- A cancelled request is rejected with an [`AbortError`](https://github.com/node-fetch/node-fetch/blob/master/README.md#class-aborterror). You can check if the reason for rejection was that the request was aborted by checking the `Error`'s `name` is `AbortError`.

```js
const fetch = required('node-fetch');
const fetch = require('node-fetch');

(async () => {
try {
Expand Down

0 comments on commit ca50c22

Please sign in to comment.