Skip to content

Commit 64091d9

Browse files
committed
chore: add more debugging
1 parent 2426bb7 commit 64091d9

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

scripts/update-demo.py

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,9 +148,11 @@ def _create_demo_pr(demo_path: Path, branch: str, commit_start: str) -> None:
148148
"""Creates a PR to merge the given branch into develop."""
149149
gh("repo", "set-default", f"{DEMO.app_author}/{DEMO.app_name}")
150150
search_results: subprocess.CompletedProcess = gh("pr", "list", "--state", "open", "--search", branch)
151-
typer.secho(f"_create_demo_pr - {search_results.stdout}")
151+
typer.secho(f"_create_demo_pr - {search_results.stdout=}")
152152

153153
if "no pull requests" not in str(search_results.stdout):
154+
typer.secho(f"{str(search_results.stdout)=}")
155+
typer.secho(f"no_pull_requests")
154156
url: str = _get_pr_url(branch=branch)
155157
typer.secho(f"Skipping PR creation due to existing PR found for branch {branch} at {url}")
156158
return

0 commit comments

Comments
 (0)