mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 10:45:16 -07:00
fix(health): correctly expand and resolve PYENV_ROOT (#26953)
This commit is contained in:
parent
595f684c5b
commit
c67efe3a9c
@ -35,7 +35,7 @@ local function check_for_pyenv()
|
||||
|
||||
health.info('pyenv: Path: ' .. pyenv_path)
|
||||
|
||||
local pyenv_root = os.getenv('PYENV_ROOT') and vim.fn.resolve('$PYENV_ROOT') or ''
|
||||
local pyenv_root = vim.fn.resolve(os.getenv('PYENV_ROOT') or '')
|
||||
|
||||
if pyenv_root == '' then
|
||||
pyenv_root = vim.fn.system({ pyenv_path, 'root' })
|
||||
|
Loading…
Reference in New Issue
Block a user