Skip to content

Commit

Permalink
--code is special and shouldn't be touched
Browse files Browse the repository at this point in the history
  • Loading branch information
ichard26 committed Dec 25, 2021
1 parent c0cf2f0 commit 0b46a49
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/black/__init__.py
Expand Up @@ -495,7 +495,8 @@ def main(
)

if verbose or not quiet:
out()
if code is None:
out()
out(error_msg if report.return_code else "All done! ✨ 🍰 ✨")
if code is None:
click.echo(str(report), err=True)
Expand Down

0 comments on commit 0b46a49

Please sign in to comment.