Skip to content

Commit 0557d60

Browse files
aduh95RafaelGSS
authored andcommitted
doc: fix env variable name in util.styleText
PR-URL: #58072 Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Marco Ippolito <marcoippolito54@gmail.com>
1 parent 130eaa2 commit 0557d60

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
@@ -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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy