Skip to content

Commit

Permalink
doc: fix typo about cluster doc, (eg. -> e.g.)
Browse files Browse the repository at this point in the history
Fixes: nodejs/code-and-learn#58
PR-URL: #9568
Reviewed-By: Roman Reiss <[email protected]>
Reviewed-By: Colin Ihrig <[email protected]>
Reviewed-By: Luigi Pinca <[email protected]>
Reviewed-By: Shigeki Ohtsu <[email protected]>
  • Loading branch information
YutamaKotaro authored and addaleax committed Nov 22, 2016
1 parent e7eb9cc commit 4ae4e00
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions doc/api/cluster.md
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ added: v0.11.2
-->

* `code` {Number} the exit code, if it exited normally.
* `signal` {String} the name of the signal (eg. `'SIGHUP'`) that caused
* `signal` {String} the name of the signal (e.g. `'SIGHUP'`) that caused
the process to be killed.

Similar to the `cluster.on('exit')` event, but specific to this worker.
Expand Down Expand Up @@ -496,7 +496,7 @@ added: v0.7.9

* `worker` {cluster.Worker}
* `code` {Number} the exit code, if it exited normally.
* `signal` {String} the name of the signal (eg. `'SIGHUP'`) that caused
* `signal` {String} the name of the signal (e.g. `'SIGHUP'`) that caused
the process to be killed.

When any of the workers die the cluster module will emit the `'exit'` event.
Expand Down

0 comments on commit 4ae4e00

Please sign in to comment.