Skip to content

Commit 520936c

Browse files
committed
add debug info
1 parent 90d5bf7 commit 520936c

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

scripts/stubsabot.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -773,6 +773,7 @@ async def update_pull_request_label(*, pr_number: int, session: aiohttp.ClientSe
773773

774774

775775
def remote_branch_exists(branch: str) -> bool:
776+
subprocess.run(["git", "show-ref"], check=False)
776777
return (
777778
subprocess.run(["git", "show-ref", "--verify", "--quiet", f"refs/remotes/origin/{branch}"], check=False).returncode == 0
778779
)

0 commit comments

Comments
 (0)