mirror of
https://github.com/pyenv/pyenv-virtualenv.git
synced 2026-09-10 07:16:18 -04:00
ignore stderr from pyenv-exec
This commit is contained in:
parent
7562795c42
commit
66546cea12
|
|
@ -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})"
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue