mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2025-11-11 13:03:52 -05:00
ignore stderr from pyenv-exec
This commit is contained in:
@@ -100,7 +100,7 @@ http_get_wget() {
|
||||
}
|
||||
|
||||
version() {
|
||||
local version="$(pyenv-exec python "${VIRTUALENV}" --version || true)"
|
||||
local version="$(pyenv-exec python "${VIRTUALENV}" --version 2>/dev/null || true)"
|
||||
echo "pyenv-virtualenv ${PYENV_VIRTUALENV_VERSION} (virtualenv ${version:-unknown})"
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user