Skip to content

Commit

Permalink
Make Spotless happy
Browse files Browse the repository at this point in the history
  • Loading branch information
marcphilipp committed Sep 16, 2024
1 parent 5564d7c commit 1cf2e6f
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,9 @@ class OutputOptionsMixin {
@Option(names = "-disable-banner", hidden = true)
private boolean disableBanner2;

// https://no-color.org
// ANSI is disabled when environment variable NO_COLOR is defined (regardless of its value).
private boolean disableAnsiColors = System.getenv("NO_COLOR") != null;
// https://no-color.org
// ANSI is disabled when environment variable NO_COLOR is defined (regardless of its value).
private boolean disableAnsiColors = System.getenv("NO_COLOR") != null;

public boolean isDisableBanner() {
return disableBanner || disableBanner2;
Expand Down

0 comments on commit 1cf2e6f

Please sign in to comment.