From 82b34f33082f488ce4372a70cd4ae2e746f3c2d0 Mon Sep 17 00:00:00 2001 From: Rich Trott Date: Fri, 4 May 2018 09:51:44 -0700 Subject: [PATCH] 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 Reviewed-By: Refael Ackermann Reviewed-By: Luigi Pinca Reviewed-By: Ruben Bridgewater Reviewed-By: James M Snell Reviewed-By: Trivikram Kamat --- doc/api/deprecations.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/doc/api/deprecations.md b/doc/api/deprecations.md index 10969cde64c499..34f857ae399045 100644 --- a/doc/api/deprecations.md +++ b/doc/api/deprecations.md @@ -950,11 +950,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`. ### DEP0105: decipher.finaltol