Closed effigies closed 3 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 87.14%. Comparing base (
1453bc1
) to head (093e835
). Report is 2 commits behind head on master.
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
This PR adds
--color
/--no-color
flags to let users enable/disable ANSI colors. The default value depends on whether it's a terminal and whetherFORCE_COLOR
is set. IfNO_COLOR
is set, that overrides all coloring, since that is enforced by Deno.Precedence:
NO_COLOR
>flag
>FORCE_COLOR
>isTerminal()
.IMO, the only question is what to do if
FORCE_COLOR=1 bids-validator --no-color
. I chose to respect the flag over the environment variable.Closes #1997.