Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit bfcde97

Browse filesBrowse 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 <jasnell@gmail.com> Reviewed-By: Brian White <mscdex@mscdex.net> Reviewed-By: Jackson Tian <shvyo1987@gmail.com> Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
1 parent 8eb87ee commit bfcde97
Copy full SHA for bfcde97

File tree

Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Filter options
Expand file treeCollapse file tree

1 file changed

+2
-2
lines changed
Open diff view settings
Collapse file

‎doc/api/cluster.md‎

Copy file name to clipboardExpand all lines: doc/api/cluster.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.