Skip to content

Commit

Permalink
docs: add info on alternative ways to enable/disable colouring
Browse files Browse the repository at this point in the history
  • Loading branch information
galargh committed Aug 23, 2024
1 parent 49fd47c commit 0c1d97d
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion v-next/hardhat-node-test-reporter/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@ This reporter is designed to work well with GitHub Actions. By default, it will

### Colour Output

This reporter will colour the output by default in terminals that support it. You can forcefully disable this feature by setting the `FORCE_COLOR` environment variable to `0`. Similarly, you can forcefully enable this feature by setting the `FORCE_COLOR` environment variable to `1`.
This reporter will colour the output by default in terminals that support it. You can forcefully disable this feature by setting the `FORCE_COLOR` environment variable to `0` (or passing a `--no-color` flag). Similarly, you can forcefully enable this feature by setting the `FORCE_COLOR` environment variable to `1` (or passing a `--color` flag).

The behaviour is inherited from the [`chalk` package](https://github.com/chalk/chalk?tab=readme-ov-file#supportscolor).

#### Colour Legend

| Output Type | Colour |
| ----------- | ------------ |
Expand Down

0 comments on commit 0c1d97d

Please sign in to comment.