Skip to content

Commit 82b34f3

Browse files
TrottMylesBorins
authored andcommitted
doc: edit text for DEP0104
Make the deprecation message a bit clear and concise. PR-URL: #20519 Reviewed-By: Vse Mozhet Byt <[email protected]> Reviewed-By: Refael Ackermann <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Ruben Bridgewater <[email protected]> Reviewed-By: James M Snell <[email protected]> Reviewed-By: Trivikram Kamat <[email protected]>
1 parent 252ca72 commit 82b34f3

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/api/deprecations.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -950,11 +950,11 @@ methods in particular can be replaced by using [`util.types`][].
950950
951951
Type: Documentation-only (supports [`--pending-deprecation`][])
952952
953-
Currently when assigning a property to [`process.env`][], the assigned value is
954-
implicitly converted to a string if it is not a string. This behavior is
955-
deprecated if the assigned value is not a string, boolean, or number. In the
956-
future, such assignment may result in a thrown error. Please convert the
957-
property to a string before assigning it to `process.env`.
953+
When assigning a non-string property to [`process.env`][], the assigned value is
954+
implicitly converted to a string. This behavior is deprecated if the assigned
955+
value is not a string, boolean, or number. In the future, such assignment may
956+
result in a thrown error. Please convert the property to a string before
957+
assigning it to `process.env`.
958958
959959
<a id="DEP0105"></a>
960960
### DEP0105: decipher.finaltol

0 commit comments

Comments
 (0)