We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 463d527 commit e8b61a5Copy full SHA for e8b61a5
virtualenvwrapper.sh
@@ -513,6 +513,9 @@ function rmvirtualenv {
513
do
514
echo "Removing $env_name..."
515
typeset env_dir="$WORKON_HOME/$env_name"
516
+ if [ ! -d "$env_dir" ]; then
517
+ echo "Cannot remove '$env_name'. No such environment." >&2
518
+ fi
519
if [ "$VIRTUAL_ENV" = "$env_dir" ]
520
then
521
echo "ERROR: You cannot remove the active environment ('$env_name')." >&2
0 commit comments