Skip to content

Commit ad68d08

Browse files
authored
doc: fix location of NO_COLOR in CLI docs
The 'coverage output' and 'source map cache' sections were appearing under the NO_COLOR environment variable instead of the NODE_V8_COVERAGE enviroment variable where they were intended to be. This commit fixes that issue. PR-URL: #56525 Reviewed-By: Antoine du Hamel <[email protected]> Reviewed-By: Luigi Pinca <[email protected]> Reviewed-By: Ulises Gascón <[email protected]> Reviewed-By: James M Snell <[email protected]>
1 parent 649da3b commit ad68d08

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/api/cli.md

+5-5
Original file line numberDiff line numberDiff line change
@@ -3378,11 +3378,6 @@ easier to instrument applications that call the `child_process.spawn()` family
33783378
of functions. `NODE_V8_COVERAGE` can be set to an empty string, to prevent
33793379
propagation.
33803380

3381-
### `NO_COLOR=<any>`
3382-
3383-
[`NO_COLOR`][] is an alias for `NODE_DISABLE_COLORS`. The value of the
3384-
environment variable is arbitrary.
3385-
33863381
#### Coverage output
33873382

33883383
Coverage is output as an array of [ScriptCoverage][] objects on the top-level
@@ -3448,6 +3443,11 @@ and the line lengths of the source file (in the key `lineLengths`).
34483443
}
34493444
```
34503445

3446+
### `NO_COLOR=<any>`
3447+
3448+
[`NO_COLOR`][] is an alias for `NODE_DISABLE_COLORS`. The value of the
3449+
environment variable is arbitrary.
3450+
34513451
### `OPENSSL_CONF=file`
34523452

34533453
<!-- YAML

0 commit comments

Comments
 (0)