Skip to content

Commit

Permalink
Fix typo in console message for static checks on last-commit
Browse files Browse the repository at this point in the history
There is a duplication in the console message that gets printed during `breeze static-checks --last-commit`.
  • Loading branch information
josh-fell committed May 23, 2024
1 parent 57dab13 commit 1e20f76
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions dev/breeze/src/airflow_breeze/commands/developer_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -859,9 +859,7 @@ def static_checks(
if show_diff_on_failure:
command_to_execute.append("--show-diff-on-failure")
if last_commit:
get_console().print(
"\n[info]Running checks for last commit in the current branch current branch: HEAD^..HEAD\n"
)
get_console().print("\n[info]Running checks for last commit in the current branch: HEAD^..HEAD\n")
command_to_execute.extend(["--from-ref", "HEAD^", "--to-ref", "HEAD"])
if commit_ref:
get_console().print(f"\n[info]Running checks for selected commit: {commit_ref}\n")
Expand Down

0 comments on commit 1e20f76

Please sign in to comment.