Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(highlight): parsing of JUSTEST_DISABLE_SOURCE_HIGHLIGHT is wrong #23

Merged
merged 1 commit into from
Jun 23, 2024

Conversation

arikkfir
Copy link
Owner

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.

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.
@arikkfir arikkfir added the bug Something isn't working label Jun 23, 2024
@arikkfir arikkfir self-assigned this Jun 23, 2024
@arikkfir arikkfir enabled auto-merge (squash) June 23, 2024 13:31
@arikkfir arikkfir merged commit 18538a1 into main Jun 23, 2024
4 checks passed
@arikkfir arikkfir deleted the arikkfir/fix/incorrect-parsing-of-highlight-envvar branch June 23, 2024 13:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant