Commit 18538a1
authored
fix(highlight): parsing of JUSTEST_DISABLE_SOURCE_HIGHLIGHT is wrong (#23)
This change fixes the parsing of the `JUSTEST_DISABLE_SOURCE_HIGHLIGHT`
environment variable. Now, setting `true`, `True`, `TRUE`, `1`, or `T`
will disable source code highlighting, as one would expect given the
environment variable's name.
Before this fix, only setting it to `false`, `False`, `FALSE`, `0` or
`F` would have turned off source code highlighting, which is the exact
opposite of the environment variable name.1 parent 0936ebf commit 18538a1
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
| 158 | + | |
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
| |||
0 commit comments