Skip to content

Commit ccc42b6

Browse files
aduh95marco-ippolito
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 56fce66 commit ccc42b6

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
@@ -1809,7 +1809,7 @@ changes:
18091809
- version: v20.18.0
18101810
pr-url: https://github.com/nodejs/node/pull/54389
18111811
description: Respect isTTY and environment variables
1812-
such as NO_COLORS, NODE_DISABLE_COLORS, and FORCE_COLOR.
1812+
such as NO_COLOR, NODE_DISABLE_COLORS, and FORCE_COLOR.
18131813
-->
18141814
18151815
* `format` {string | Array} A text format or an Array
@@ -1821,7 +1821,7 @@ changes:
18211821
18221822
This function returns a formatted text considering the `format` passed
18231823
for printing in a terminal. It is aware of the terminal's capabilities
1824-
and acts according to the configuration set via `NO_COLORS`,
1824+
and acts according to the configuration set via `NO_COLOR`,
18251825
`NODE_DISABLE_COLORS` and `FORCE_COLOR` environment variables.
18261826
18271827
```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