mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
fix(health): properly use the value of $PYENV_VERSION (#23109)
This commit is contained in:
parent
2e2101cf7b
commit
8c6f97bef8
@ -196,7 +196,7 @@ local function check_for_pyenv()
|
||||
|
||||
info('pyenv: Path: ' .. pyenv_path)
|
||||
|
||||
local pyenv_root = os.getenv('PYENV_ROOT') and vim.fn.resolve('$PYENV_ROOT') or ''
|
||||
local pyenv_root = os.getenv('PYENV_ROOT') and vim.fn.resolve(os.getenv('PYENV_ROOT')) or ''
|
||||
|
||||
if is_blank(pyenv_root) then
|
||||
pyenv_root = vim.trim(system({ pyenv_path, 'root' }))
|
||||
|
Loading…
Reference in New Issue
Block a user