mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 18:55:14 -07:00
:checkhealth: fix check for npm and yarn (#7569)
Fix bug that checked for npm AND yarn, where we wanted npm OR yarn. But since we call `npm` exclusively, and it's highly unlikely you have yarn installed without npm, let's just remove the yarn check altogether. Addresses https://github.com/neovim/node-client/issues/41
This commit is contained in:
parent
59b0d9f62d
commit
eacd788cf5
@ -496,7 +496,7 @@ function! s:check_node() abort
|
||||
return
|
||||
endif
|
||||
|
||||
if !executable('node') || !executable('npm') || !executable('yarn')
|
||||
if !executable('node') || !executable('npm')
|
||||
call health#report_warn(
|
||||
\ '`node` and `npm` must be in $PATH.',
|
||||
\ ['Install Node.js and verify that `node` and `npm` commands work.'])
|
||||
|
Loading…
Reference in New Issue
Block a user