mirror of
https://github.com/neovim/neovim
synced 2025-07-16 09:11:51 +00:00
fix(health): properly use the value of $PYENV_VERSION (#23109)
This commit is contained in:
@ -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' }))
|
||||
|
Reference in New Issue
Block a user