Skip to content

Commit

Permalink
Automated Code Change
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 609419903
  • Loading branch information
cushon authored and Guice Team committed Feb 22, 2024
1 parent 60e1b4d commit d46b395
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions core/src/com/google/inject/internal/InternalFlags.java
Original file line number Diff line number Diff line change
Expand Up @@ -122,8 +122,7 @@ public enum ColorizeOption {
AUTO {
@Override
boolean enabled() {
boolean systemConsoleIsTerminal = System.console() != null;
return systemConsoleIsTerminal && System.getenv("TERM") != null;
return System.console() != null && System.getenv("TERM") != null;
}
},
ON {
Expand Down

0 comments on commit d46b395

Please sign in to comment.