Skip to content

Commit

Permalink
fix(install-poetry): use exit code 1 with non-existing version
Browse files Browse the repository at this point in the history
  • Loading branch information
blueyed committed May 3, 2021
1 parent 25aae99 commit 48ba2f1
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions install-poetry.py
Original file line number Diff line number Diff line change
Expand Up @@ -408,6 +408,8 @@ def run(self) -> int:
version, current_version = self.get_version()

if version is None:
if current_version is None:
return 1
return 0

self.display_pre_message()
Expand Down

0 comments on commit 48ba2f1

Please sign in to comment.