Skip to content

Commit 0f7ab19

Browse files
cjihrigRafaelGSS
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: nodejs#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 974c5f8 commit 0f7ab19

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
@@ -3359,11 +3359,6 @@ easier to instrument applications that call the `child_process.spawn()` family
33593359
of functions. `NODE_V8_COVERAGE` can be set to an empty string, to prevent
33603360
propagation.
33613361

3362-
### `NO_COLOR=<any>`
3363-
3364-
[`NO_COLOR`][] is an alias for `NODE_DISABLE_COLORS`. The value of the
3365-
environment variable is arbitrary.
3366-
33673362
#### Coverage output
33683363

33693364
Coverage is output as an array of [ScriptCoverage][] objects on the top-level
@@ -3429,6 +3424,11 @@ and the line lengths of the source file (in the key `lineLengths`).
34293424
}
34303425
```
34313426

3427+
### `NO_COLOR=<any>`
3428+
3429+
[`NO_COLOR`][] is an alias for `NODE_DISABLE_COLORS`. The value of the
3430+
environment variable is arbitrary.
3431+
34323432
### `OPENSSL_CONF=file`
34333433

34343434
<!-- YAML

0 commit comments

Comments
 (0)