You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
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 whenvenv
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 executedMany thanks!
@steveYeah
The text was updated successfully, but these errors were encountered: