From 7f108de52592151e3754979fdc1920a63f6d8d8a Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Thu, 1 May 2025 12:00:43 +0200 Subject: [PATCH] doc: fix env variable name in `util.styleText` MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit PR-URL: https://github.com/nodejs/node/pull/58072 Reviewed-By: Michaƫl Zasso Reviewed-By: Luigi Pinca Reviewed-By: Marco Ippolito --- doc/api/util.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/api/util.md b/doc/api/util.md index fc65b72ae00..6e4b8eaf9f6 100644 --- a/doc/api/util.md +++ b/doc/api/util.md @@ -2402,7 +2402,7 @@ changes: - v20.18.0 pr-url: https://github.com/nodejs/node/pull/54389 description: Respect isTTY and environment variables - such as NO_COLORS, NODE_DISABLE_COLORS, and FORCE_COLOR. + such as NO_COLOR, NODE_DISABLE_COLORS, and FORCE_COLOR. --> * `format` {string | Array} A text format or an Array @@ -2414,7 +2414,7 @@ changes: This function returns a formatted text considering the `format` passed for printing in a terminal. It is aware of the terminal's capabilities -and acts according to the configuration set via `NO_COLORS`, +and acts according to the configuration set via `NO_COLOR`, `NODE_DISABLE_COLORS` and `FORCE_COLOR` environment variables. ```mjs