Skip to content

Commit

Permalink
fix rm prefix
Browse files Browse the repository at this point in the history
  • Loading branch information
aajtodd committed Oct 6, 2023
1 parent 830fb22 commit b166b9c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/ci.py
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ def update_repo(repo_dir, branch_name):
:param branch_name:
:return:
"""
branch_name = branch_name.remove_prefix(GIT_ORIGIN_REFIX)
branch_name = branch_name.removeprefix(GIT_ORIGIN_REFIX)
curr_branch = get_current_branch(repo_dir)
print(f"current branch of `{repo_dir}`: {curr_branch}")
if curr_branch == branch_name:
Expand Down

0 comments on commit b166b9c

Please sign in to comment.