Skip to content

Commit 64e7659

Browse files
Add info message for closing pr
1 parent 0e65483 commit 64e7659

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

app/commands/download.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ def _download_exercise(
5454
if old_config.exercise_repo.repo_type == "remote" and old_config.exercise_repo.create_fork:
5555
pr_repo_full_name = old_config.exercise_repo.pr_repo_full_name
5656
if pr_repo_full_name:
57+
info(f"Closing open PRs in {pr_repo_full_name} if exists...")
5758
close_pr(pr_repo_full_name)
5859
rmtree(exercise)
5960

app/commands/progress/reset.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ def reset() -> None:
5858
if is_remote_type and exercise_config.exercise_repo.create_fork:
5959
pr_repo_full_name = exercise_config.exercise_repo.pr_repo_full_name
6060
if pr_repo_full_name:
61+
info(f"Closing open PRs in {pr_repo_full_name} if exists...")
6162
close_pr(pr_repo_full_name)
6263
exercise_config.exercise_repo.pr_number = None
6364
exercise_config.exercise_repo.pr_repo_full_name = None

0 commit comments

Comments
 (0)