mirror of https://github.com/mamba-org/mamba.git
fix: Don't print banner in quiet mode (#2097)
* fix: do not print banner in quiet mode Resolves #2089 * typo(contributing.md): everyones -> everyone's
This commit is contained in:
parent
424a18e3bb
commit
26be4b6272
|
@ -5,7 +5,7 @@ discuss the change you wish to make via issue, email, or any other method with
|
|||
the owners of this repository before making a change.
|
||||
|
||||
We welcome all kinds of contribution -- code or non-code -- and value them
|
||||
highly. We pledge to treat everyones contribution fairly and with respect and
|
||||
highly. We pledge to treat everyone's contribution fairly and with respect and
|
||||
we are here to help awesome pull requests over the finish line.
|
||||
|
||||
Please note we have a code of conduct, and follow it in all your interactions with the project.
|
||||
|
|
|
@ -877,6 +877,7 @@ def _wrapped_main(*args, **kwargs):
|
|||
if (
|
||||
not found_no_banner
|
||||
and os.isatty(sys.stdout.fileno())
|
||||
and not context.quiet
|
||||
and not ("MAMBA_NO_BANNER" in os.environ or parsed_args.cmd in ("list", "run"))
|
||||
):
|
||||
print(banner, file=sys.stderr)
|
||||
|
|
Loading…
Reference in New Issue