Skip to content

Commit

Permalink
fix: corrected checkout
Browse files Browse the repository at this point in the history
  • Loading branch information
rwxd committed Mar 13, 2024
1 parent f2f2353 commit 2b9c081
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion ansible_workspace/misc.py
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ def handle_roles(
if role.version in repo.get_tags():
repo.checkout(role.version)
elif role.version in repo.get_local_branches():
repo.checkout(f'checkout {role.version}')
repo.checkout(role.version)
elif f'origin/{role.version}' in repo.get_remote_branches():
repo.checkout_remote_branch(role.version)
else:
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
typer==0.9.0
rich==13.5.2
pyyaml==6.0
pyyaml==6.0.1

0 comments on commit 2b9c081

Please sign in to comment.