diff options
author | Rich Trott <rtrott@gmail.com> | 2018-05-04 09:51:44 -0700 |
---|---|---|
committer | Rich Trott <rtrott@gmail.com> | 2018-05-07 11:16:36 -0700 |
commit | 395c8731586f51f0ef1147ff249e48df9ad5785c (patch) | |
tree | 5a98cf72f3634566b0fbba842b26fd3627c1bf5f /doc | |
parent | 29ccf6e14b10e20f2eb766015fcfbcb9fa349c72 (diff) | |
download | node-new-395c8731586f51f0ef1147ff249e48df9ad5785c.tar.gz |
doc: edit text for DEP0104
Make the deprecation message a bit clear and concise.
PR-URL: https://github.com/nodejs/node/pull/20519
Reviewed-By: Vse Mozhet Byt <vsemozhetbyt@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Trivikram Kamat <trivikr.dev@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r-- | doc/api/deprecations.md | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 2101f46240..975a514fce 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -949,11 +949,11 @@ methods in particular can be replaced by using [`util.types`][]. Type: Documentation-only (supports [`--pending-deprecation`][]) -Currently when assigning a property to [`process.env`][], the assigned value is -implicitly converted to a string if it is not a string. This behavior is -deprecated if the assigned value is not a string, boolean, or number. In the -future, such assignment may result in a thrown error. Please convert the -property to a string before assigning it to `process.env`. +When assigning a non-string property to [`process.env`][], the assigned value is +implicitly converted to a string. This behavior is deprecated if the assigned +value is not a string, boolean, or number. In the future, such assignment may +result in a thrown error. Please convert the property to a string before +assigning it to `process.env`. <a id="DEP0105"></a> ### DEP0105: decipher.finaltol |