Skip to content

Commit

Permalink
fixup: update the doc for process.exitCode
Browse files Browse the repository at this point in the history
Signed-off-by: Daeyeon Jeong [email protected]
  • Loading branch information
daeyeon committed Sep 11, 2022
1 parent 5507e2f commit adaf151
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion doc/api/process.md
Original file line number Diff line number Diff line change
Expand Up @@ -1816,9 +1816,15 @@ than the current process.
<!-- YAML
added: v0.11.8
changes:
- version: REPLACEME
pr-url: https:/nodejs/node/pull/43716
description: Only accepts a code of type number, or of type string if it
represents an integer.
-->
* {integer}
* {integer|string|null|undefined} The exit code. For string type, only
integer strings (e.g.,'1') are allowed. **Default:** `undefined`.
A number which will be the process exit code, when the process either
exits gracefully, or is exited via [`process.exit()`][] without specifying
Expand Down

0 comments on commit adaf151

Please sign in to comment.