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
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

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