Skip to content
Closed
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
doc: use single quotes and two spaces for consistency in example
  • Loading branch information
joeyespo committed Jul 28, 2016
commit 35f18ee48a263917d2ec32d6e961e0605d24463a
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