Skip to content

Commit 35f18ee

Browse files
committed
doc: use single quotes and two spaces for consistency in example
1 parent 47e1c43 commit 35f18ee

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

doc/api/process.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -223,8 +223,8 @@ For example:
223223

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

230230
somePromise.then((res) => {

0 commit comments

Comments
 (0)