From 4b0dda0dd9cabfe46645809ec8deea849a81b913 Mon Sep 17 00:00:00 2001 From: Evan Lucas Date: Thu, 28 Apr 2016 22:39:53 -0500 Subject: [PATCH] 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 Reviewed-By: Brian White Reviewed-By: Jackson Tian Reviewed-By: Colin Ihrig --- doc/api/cluster.md | 4 ++-- 1 file 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'); } });