Skip to content

Commit

Permalink
executor: fix incorrect return value (#2981)
Browse files Browse the repository at this point in the history
  • Loading branch information
abn authored Sep 27, 2020
1 parent 46623d5 commit 346da80
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion poetry/installation/executor.py
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@ def execute(self, operations): # type: (Operation) -> int

break

return self._shutdown
return 1 if self._shutdown else 0

def _write(self, operation, line):
if not self.supports_fancy_output() or not self._should_write_operation(
Expand Down

0 comments on commit 346da80

Please sign in to comment.