Skip to content

Commit

Permalink
doc: fix incorrect syntax in examples
Browse files Browse the repository at this point in the history
The cluster docs had a period instead of a semicolon at the end of two
lines.

PR-URL: #6463
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Brian White <mscdex@mscdex.net>
Reviewed-By: Jackson Tian <shvyo1987@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
  • Loading branch information
evanlucas authored and Fishrock123 committed May 4, 2016
1 parent 8eb87ee commit bfcde97
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ this value.
```js
cluster.on('exit', (worker, code, signal) => {
if (worker.exitedAfterDisconnect === true) {
console.log('Oh, it was just voluntary\' – no need to worry').
console.log('Oh, it was just voluntary – no need to worry');
}
});

Expand Down Expand Up @@ -408,7 +408,7 @@ this value.
```js
cluster.on('exit', (worker, code, signal) => {
if (worker.suicide === true) {
console.log('Oh, it was just voluntary\' – no need to worry').
console.log('Oh, it was just voluntary – no need to worry');
}
});

Expand Down

0 comments on commit bfcde97

Please sign in to comment.