-
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(highlight): only highlight source code when supported (#10)
This change ensures that we only highlight caller source code when: 1. It is enabled - By default, highlighting is enabled - Can be disabled by setting `JUSTEST_DISABLE_SOURCE_HIGHLIGHT` to a "falsy" value like `false`, `FALSE`, `False`, `0`, or `f` 2. Supported - Currently only macOS is supported, because dark-mode detection is only supported on macOS - Dark mode detection succeeded (again, currently only on macOS)
- Loading branch information
Showing
1 changed file
with
31 additions
and
24 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters