Skip to content

Commit

Permalink
fix: Skip CLI installation if newer version is present (#51)
Browse files Browse the repository at this point in the history
Closes #50

Signed-off-by: Costin Galan <[email protected]>
  • Loading branch information
costingalan authored Dec 4, 2023
1 parent ce6913c commit 0940418
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion install_op.py
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ def check_install_required(self): # pragma: no cover
if op == "":
return True, self.download_location
else:
if op == cli_version:
if op >= cli_version:
return False, ""
else:
existing_location = read_bash_return("which op")
Expand Down

0 comments on commit 0940418

Please sign in to comment.