doc: fix env variable name in util.styleText

PR-URL: https://github.com/nodejs/node/pull/58072
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
This commit is contained in:
Antoine du Hamel committed 2025-05-19 12:14:05 +02:00
1 parent f37633e85a
commit 7f108de525
1 file changed
+2 -2
+2 -2
View File
@@ -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