File tree Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Expand file tree Collapse file tree 1 file changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -6,8 +6,7 @@ uninstall_related_virtual_env() {
66 if [ -n " ${DEFINITION} " ]; then
77 if [[ " ${DEFINITION} " != " ${DEFINITION%/ envs/* } " ]]; then
88 # Uninstall virtualenv by long name
9- exec pyenv-virtualenv-delete ${FORCE+-f} " ${DEFINITION} "
10- exit 128
9+ pyenv-virtualenv-delete ${FORCE+-f} " ${DEFINITION} "
1110 else
1211 VERSION_NAME=" ${VERSION_NAME:- ${DEFINITION##*/ } } "
1312 PREFIX=" ${PREFIX:- ${PYENV_ROOT} / versions/ ${VERSION_NAME} } "
@@ -16,8 +15,7 @@ uninstall_related_virtual_env() {
1615 REAL_DEFINITION=" ${REAL_PREFIX# ${PYENV_ROOT} / versions/ } "
1716 if [[ " ${REAL_DEFINITION} " != " ${REAL_DEFINITION%/ envs/* } " ]]; then
1817 # Uninstall virtualenv by short name
19- exec pyenv-virtualenv-delete ${FORCE+-f} " ${REAL_DEFINITION} "
20- exit 128
18+ pyenv-virtualenv-delete ${FORCE+-f} " ${REAL_DEFINITION} "
2119 fi
2220 else
2321 # Uninstall all virtualenvs inside `envs` directory too
You can’t perform that action at this time.
0 commit comments