Skip to content

Commit

Permalink
Stop delete force failing when virtualenv does not exist (#330)
Browse files Browse the repository at this point in the history
  • Loading branch information
eganjs authored Oct 10, 2022
1 parent a911a22 commit 7932bb4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bin/pyenv-virtualenv-delete
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 7932bb4

Please sign in to comment.