Skip to content

Commit d441fcf

Browse files
cjihrigtargos
authored andcommitted
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 f48d4c3 commit d441fcf

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

doc/api/cli.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3357,11 +3357,6 @@ easier to instrument applications that call the `child_process.spawn()` family
33573357
of functions. `NODE_V8_COVERAGE` can be set to an empty string, to prevent
33583358
propagation.
33593359

3360-
### `NO_COLOR=<any>`
3361-
3362-
[`NO_COLOR`][] is an alias for `NODE_DISABLE_COLORS`. The value of the
3363-
environment variable is arbitrary.
3364-
33653360
#### Coverage output
33663361

33673362
Coverage is output as an array of [ScriptCoverage][] objects on the top-level
@@ -3427,6 +3422,11 @@ and the line lengths of the source file (in the key `lineLengths`).
34273422
}
34283423
```
34293424

3425+
### `NO_COLOR=<any>`
3426+
3427+
[`NO_COLOR`][] is an alias for `NODE_DISABLE_COLORS`. The value of the
3428+
environment variable is arbitrary.
3429+
34303430
### `OPENSSL_CONF=file`
34313431

34323432
<!-- YAML

0 commit comments

Comments
 (0)