summaryrefslogtreecommitdiff
path: root/doc/api/cluster.md
diff options
context:
space:
mode:
authorEvan Lucas <evanlucas@me.com>2016-04-28 22:39:53 -0500
committerJames M Snell <jasnell@gmail.com>2016-04-29 23:03:13 -0700
commit4b0dda0dd9cabfe46645809ec8deea849a81b913 (patch)
treef037f4457d453020d5630fcf41704456cce77025 /doc/api/cluster.md
parent81903590948eb69e89b6984bd49efde6147cea3c (diff)
downloadandroid-node-v8-4b0dda0dd9cabfe46645809ec8deea849a81b913.tar.gz
android-node-v8-4b0dda0dd9cabfe46645809ec8deea849a81b913.tar.bz2
android-node-v8-4b0dda0dd9cabfe46645809ec8deea849a81b913.zip
doc: fix incorrect syntax in examples
The cluster docs had a period instead of a semicolon at the end of two lines. PR-URL: https://github.com/nodejs/node/pull/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>
Diffstat (limited to 'doc/api/cluster.md')
-rw-r--r--doc/api/cluster.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/doc/api/cluster.md b/doc/api/cluster.md
index dcf2f8a1e9..bf0e77867a 100644
--- a/doc/api/cluster.md
+++ b/doc/api/cluster.md
@@ -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');
}
});
@@ -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');
}
});