Skip to content

Commit

Permalink
Move main functionality out of else block
Browse files Browse the repository at this point in the history
  • Loading branch information
cliebBS committed Jan 31, 2020
1 parent 755bc27 commit 6594a36
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions poetry/console/commands/lock.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ def handle(self):
if self.poetry.locker.is_locked() and self.poetry.locker.is_fresh()
else 1
)
else:
installer.lock()

return installer.run()
installer.lock()

return installer.run()

0 comments on commit 6594a36

Please sign in to comment.