Browse Source
Stop delete force failing when virtualenv does not exist (#330)
pull/350/head
Joseph Egan
1 year ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
bin/pyenv-virtualenv-delete
|
|
@ -75,7 +75,7 @@ else |
|
|
|
if pyenv-virtualenv-prefix "${VERSION_NAME}" 1>/dev/null 2>&1; then |
|
|
|
PREFIX="${PYENV_ROOT}/versions/${VERSION_NAME}" |
|
|
|
unset COMPAT_PREFIX |
|
|
|
else |
|
|
|
elif [ -z "$FORCE" ]; then |
|
|
|
echo "pyenv-virtualenv: \`${DEFINITION}' is not a virtualenv." 1>&2 |
|
|
|
exit 1 |
|
|
|
fi |
|
|
|