Skip to content

Commit 40b83d1

Browse files
committed
chore: rename env var
1 parent 2051b06 commit 40b83d1

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

ggshield/__main__.py

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,9 +197,8 @@ def main(args: Optional[List[str]] = None) -> Any:
197197

198198
log_utils.disable_logs()
199199

200-
if not os.getenv("DISABLE_GGSHIELD_OUTPUT", False):
201-
if sys.stderr.isatty():
202-
ui.set_ui(RichGGShieldUI())
200+
if not os.getenv("GG_PLAINTEXT_OUTPUT", False) and sys.stderr.isatty():
201+
ui.set_ui(RichGGShieldUI())
203202

204203
force_utf8_output()
205204

0 commit comments

Comments
 (0)