Reflect pyenv-latest switch change in 2.4.8

This commit is contained in:
Ivan Pozdeev
2024-07-21 23:31:47 +03:00
parent b90bd92853
commit 6179ac76c4
2 changed files with 2 additions and 2 deletions

View File

@@ -317,7 +317,7 @@ else
fi
if [[ -n "${VERSION_NAME}" ]] && command -v pyenv-latest >/dev/null; then
VERSION_NAME="$(pyenv-latest -q "${VERSION_NAME}" || echo "${VERSION_NAME}")"
VERSION_NAME="$(pyenv-latest -f "${VERSION_NAME}")"
fi
if [ -z "${VERSION_NAME}" ] || [ -z "${VIRTUALENV_NAME}" ]; then