Display "commmand not found" even when there are nonexistent versions

This commit is contained in:
Ivan Pozdeev 2024-12-16 00:36:43 +03:00
parent b5cff6669f
commit 98ef475e01

View File

@ -96,7 +96,6 @@ else
for version in "${nonexistent_versions[@]}"; do for version in "${nonexistent_versions[@]}"; do
echo "pyenv: version \`$version' is not installed (set by $(pyenv-version-origin))" >&2 echo "pyenv: version \`$version' is not installed (set by $(pyenv-version-origin))" >&2
done done
exit 1
fi fi
echo "pyenv: $PYENV_COMMAND: command not found" >&2 echo "pyenv: $PYENV_COMMAND: command not found" >&2