Skip to content

Commit e512009

Browse files
aduh95RafaelGSS
authored andcommitted
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 badb4f5 commit e512009

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

doc/api/util.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -2418,7 +2418,7 @@ changes:
24182418
- v20.18.0
24192419
pr-url: https://github.com/nodejs/node/pull/54389
24202420
description: Respect isTTY and environment variables
2421-
such as NO_COLORS, NODE_DISABLE_COLORS, and FORCE_COLOR.
2421+
such as NO_COLOR, NODE_DISABLE_COLORS, and FORCE_COLOR.
24222422
-->
24232423
24242424
* `format` {string | Array} A text format or an Array
@@ -2430,7 +2430,7 @@ changes:
24302430
24312431
This function returns a formatted text considering the `format` passed
24322432
for printing in a terminal. It is aware of the terminal's capabilities
2433-
and acts according to the configuration set via `NO_COLORS`,
2433+
and acts according to the configuration set via `NO_COLOR`,
24342434
`NODE_DISABLE_COLORS` and `FORCE_COLOR` environment variables.
24352435
24362436
```mjs

0 commit comments

Comments
 (0)