Skip to content

Commit

Permalink
doc: use single quotes and two spaces for consistency in example
Browse files Browse the repository at this point in the history
  • Loading branch information
joeyespo committed Jul 28, 2016
1 parent 47e1c43 commit 35f18ee
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,8 @@ For example:

```js
process.on('unhandledRejection', (reason, p) => {
console.log("Unhandled Rejection at: Promise", p, "reason:", reason);
// application specific logging, throwing an error, or other logic here
console.log('Unhandled Rejection at: Promise', p, 'reason:', reason);
// application specific logging, throwing an error, or other logic here
});

somePromise.then((res) => {
Expand Down

0 comments on commit 35f18ee

Please sign in to comment.