fix(health): malformed call to warn() #26217

This commit is contained in:
Itamar Lencovsky
2023-11-26 07:03:32 +10:00
committed by GitHub
parent a827003e30
commit ba88fd886a

View File

@@ -806,11 +806,11 @@ local function node()
.. current_npm .. current_npm
.. ' latest: ' .. ' latest: '
.. latest_npm .. latest_npm
warn(message({ warn(message, {
'Run in shell: npm install -g neovim', 'Run in shell: npm install -g neovim',
'Run in shell (if you use yarn): yarn global add neovim', 'Run in shell (if you use yarn): yarn global add neovim',
'Run in shell (if you use pnpm): pnpm install -g neovim', 'Run in shell (if you use pnpm): pnpm install -g neovim',
})) })
else else
ok('Latest "neovim" npm/yarn/pnpm package is installed: ' .. current_npm) ok('Latest "neovim" npm/yarn/pnpm package is installed: ' .. current_npm)
end end