Skip to content
Closed
Changes from all commits
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
doc: fix incorrect syntax in examples
The cluster docs had a period instead of a semicolon at the end of two
lines.
  • Loading branch information
evanlucas committed Apr 29, 2016
commit 46f7bfa4ecbb6125fc36aa529777d83deaa0c6f3
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