Skip to content

Commit 33cb23b

Browse files
committed
fixup: allow integer strings
Signed-off-by: Daeyeon Jeong [email protected]
1 parent 3e10bbd commit 33cb23b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/deprecations.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3174,8 +3174,8 @@ changes:
31743174

31753175
Type: Documentation-only
31763176

3177-
Implicit coercion of a non-integer `code` parameter in [`process.exit()`][] is
3178-
deprecated. Please use an integer value.
3177+
`code` values other than `undefined`, `null`, integer numbers and integer
3178+
strings (e.g., '1') are deprecated as parameter in [`process.exit()`][].
31793179

31803180
[Legacy URL API]: url.md#legacy-url-api
31813181
[NIST SP 800-38D]: https://nvlpubs.nist.gov/nistpubs/Legacy/SP/nistspecialpublication800-38d.pdf

0 commit comments

Comments
 (0)