-
Notifications
You must be signed in to change notification settings - Fork 2.4k
Closed
Description
- I have searched the issues of this repo and believe that this is not a duplicate.
- I have searched the documentation and believe that my question is not covered.
Issue
By raising an exception in EnvManager::Remove when the venv does not exist, poetry will error out, showing the exception.
It would be nicer for scripting the use of Poetry in Makefiles and the like, if poetry env remove <venv> just no-oped when venv did not exist, as it's no real drama if the thing you want to delete doesn't exist.
I use this as part of a clean target within a project Makefile, and as this raises an exception, it will exist with status code 1, meaning the rest of the target is not executed
Many thanks!
@steveYeah
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels