Skip to content

Commit bfcde97

Browse files
evanlucasFishrock123
authored andcommitted
doc: fix incorrect syntax in examples
The cluster docs had a period instead of a semicolon at the end of two lines. PR-URL: #6463 Reviewed-By: James M Snell <[email protected]> Reviewed-By: Brian White <[email protected]> Reviewed-By: Jackson Tian <[email protected]> Reviewed-By: Colin Ihrig <[email protected]>
1 parent 8eb87ee commit bfcde97

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/cluster.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ this value.
305305
```js
306306
cluster.on('exit', (worker, code, signal) => {
307307
if (worker.exitedAfterDisconnect === true) {
308-
console.log('Oh, it was just voluntary\' – no need to worry').
308+
console.log('Oh, it was just voluntary – no need to worry');
309309
}
310310
});
311311

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

0 commit comments

Comments
 (0)