Skip to content
This repository has been archived by the owner on Nov 12, 2017. It is now read-only.

Commit

Permalink
fix: health check incorrectly requires yarn and npm
Browse files Browse the repository at this point in the history
fixes #30
  • Loading branch information
billyvg committed Aug 18, 2017
1 parent 9187523 commit 40c370a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion autoload/health/node.vim
Expand Up @@ -427,7 +427,7 @@ function! s:check_node() abort
return
endif

if !executable('node') || !executable('npm') || !executable('yarn')
if !executable('node') || (!executable('npm') && !executable('yarn'))
call health#report_warn(
\ '`node` and `npm` must be in $PATH.',
\ ['Install Node.js and verify that `node` and `npm` commands work.'])
Expand Down

0 comments on commit 40c370a

Please sign in to comment.