Skip to content

Commit

Permalink
Format tools/gh-pr-update-snapshot
Browse files Browse the repository at this point in the history
  • Loading branch information
kateinoigakukun committed Jul 1, 2023
1 parent 9ef981f commit 2173114
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tools/gh-pr-update-snapshot
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,8 @@ def open_pr_to_update_base_tag(scheme: str, base_tag: str, latest_tag: str,
interactive: bool):
branch = f"update-base-tag/{scheme}-{latest_tag}"

status = subprocess.run(["git", "rev-parse", "--verify", branch], stdout=subprocess.DEVNULL)
status = subprocess.run(
["git", "rev-parse", "--verify", branch], stdout=subprocess.DEVNULL)
if status.returncode == 0:
print(f"Branch {branch} already exists, skipping")
return
Expand Down

0 comments on commit 2173114

Please sign in to comment.