Skip to content

Commit

Permalink
doc: include typo in 'unhandledRejection' example
Browse files Browse the repository at this point in the history
Reintroduces an intentional typo in a process doc example.

Fixes: #5644
PR-URL: #5654
Reviewed-By: James M Snell <[email protected]>
Reviewed-By: Rich Trott <[email protected]>
Reviewed-By: Jeremiah Senkpiel <[email protected]>
  • Loading branch information
r1b authored and rvagg committed Mar 14, 2016
1 parent 9a44c8c commit dd12661
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion doc/api/process.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@ event:

```js
somePromise.then((res) => {
return reportToUser(JSON.parse(res)); // note the typo
return reportToUser(JSON.pasre(res)); // note the typo (`pasre`)
}); // no `.catch` or `.then`
```

Expand Down

0 comments on commit dd12661

Please sign in to comment.