Skip to content

Commit

Permalink
Bug 1893252 - Skip MozillaBuild version check outside of MozillaBuild…
Browse files Browse the repository at this point in the history
  • Loading branch information
arai-a committed May 14, 2024
1 parent 279cbcb commit f0fc3f8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions python/mach/mach/logging.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,9 @@ def enable_blessed():
if os.environ.get("NO_ANSI"):
return False

if not os.environ.get("MOZILLABUILD"):
return False

# MozillaBuild 4.0.2 is the first Release that supports
# ANSI escape sequences, so if we're greater than that
# version, we can enable them (via Blessed).
Expand Down

0 comments on commit f0fc3f8

Please sign in to comment.