Skip to content

Commit d998de9

Browse files
committed
fixup: allow integer strings
Signed-off-by: Daeyeon Jeong [email protected]
1 parent 8332bd2 commit d998de9

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/deprecations.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -3156,8 +3156,8 @@ changes:
31563156

31573157
Type: Documentation-only
31583158

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

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

0 commit comments

Comments
 (0)