File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -73,15 +73,15 @@ def update_repo(repo_dir, branch_name):
7373 base_branch = os .environ .get ("GITHUB_BASE_REF" )
7474
7575 if has_remote_branch (repo_dir , branch_name ):
76- vprint (f"repo has target branch ` { branch_name } `: { has_branch } ...updating" )
76+ vprint (f"repo has target branch { branch_name } ...updating" )
7777 pout = shell (f"git switch { branch_name } " , cwd = repo_dir )
7878 vprint (pout .stdout .decode ("utf-8" ))
7979 elif (base_branch != curr_branch ) and has_remote_branch (repo_dir , base_branch ):
8080 vprint (f"repo does not have target branch ${ branch_name } , but has base branch { base_branch } ...updating" )
8181 pout = shell (f"git switch { base_branch } " , cwd = repo_dir )
8282 vprint (pout .stdout .decode ("utf-8" ))
8383 else :
84- vprint (f"repo does not have target branch { branch_name } nor base_branch $ { base_branch } , leaving at { curr_branch } " )
84+ vprint (f"repo does not have target branch { branch_name } nor base_branch { base_branch } , leaving at { curr_branch } " )
8585
8686def _get_branch_cmd (opts ):
8787 branch = "main"
You can’t perform that action at this time.
0 commit comments