Skip to content

Commit

Permalink
Fix update_rules checkout branch
Browse files Browse the repository at this point in the history
  • Loading branch information
tindy2013 committed Apr 6, 2024
1 parent 40ba3fd commit b82d492
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/update_rules.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def main():
r.git.checkout(commit)
elif branch is not None:
logging.info(f"checking out to branch {branch}")
r.branches[branch].checkout()
r.git.checkout(branch)
else:
logging.info(f"checking out to default branch")
r.active_branch.checkout()
Expand Down

0 comments on commit b82d492

Please sign in to comment.