diff options
author | Billy Vong <billyvg@users.noreply.github.com> | 2017-11-16 14:43:50 -0800 |
---|---|---|
committer | Justin M. Keyes <justinkz@gmail.com> | 2017-11-16 23:43:50 +0100 |
commit | eacd788cf56fee586901f4252ae7492aaf007b3f (patch) | |
tree | 7ecf595925e2a8fe195304e2d809bf394087279b | |
parent | 59b0d9f62d163f1caa60c4b656fef51f8a13cef6 (diff) | |
download | rneovim-eacd788cf56fee586901f4252ae7492aaf007b3f.tar.gz rneovim-eacd788cf56fee586901f4252ae7492aaf007b3f.tar.bz2 rneovim-eacd788cf56fee586901f4252ae7492aaf007b3f.zip |
: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
-rw-r--r-- | runtime/autoload/health/provider.vim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/autoload/health/provider.vim b/runtime/autoload/health/provider.vim index 806a9d043b..0201ed8062 100644 --- a/runtime/autoload/health/provider.vim +++ b/runtime/autoload/health/provider.vim @@ -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.']) |