Skip to content

Commit cc13747

Browse files
committed
doc: fix env variable name in util.styleText
PR-URL: #58072 Reviewed-By: Michaël Zasso <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Marco Ippolito <[email protected]>
1 parent b5af9de commit cc13747

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/util.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2402,7 +2402,7 @@ changes:
24022402
- v20.18.0
24032403
pr-url: https://github.com/nodejs/node/pull/54389
24042404
description: Respect isTTY and environment variables
2405-
such as NO_COLORS, NODE_DISABLE_COLORS, and FORCE_COLOR.
2405+
such as NO_COLOR, NODE_DISABLE_COLORS, and FORCE_COLOR.
24062406
-->
24072407
24082408
* `format` {string | Array} A text format or an Array
@@ -2414,7 +2414,7 @@ changes:
24142414
24152415
This function returns a formatted text considering the `format` passed
24162416
for printing in a terminal. It is aware of the terminal's capabilities
2417-
and acts according to the configuration set via `NO_COLORS`,
2417+
and acts according to the configuration set via `NO_COLOR`,
24182418
`NODE_DISABLE_COLORS` and `FORCE_COLOR` environment variables.
24192419
24202420
```mjs

0 commit comments

Comments
 (0)