eslint: honour the exec parameter.

This commit is contained in:
LCD 47 2014-05-10 22:29:15 +03:00
parent 716038ea46
commit 45a36bf2fc
2 changed files with 3 additions and 3 deletions

View File

@ -19,7 +19,7 @@ if has('reltime')
lockvar! g:syntastic_start
endif
let g:syntastic_version = '3.4.0-67'
let g:syntastic_version = '3.4.0-68'
lockvar g:syntastic_version
" Sanity checks {{{1

View File

@ -23,8 +23,8 @@ set cpo&vim
function! SyntaxCheckers_javascript_eslint_IsAvailable() dict
return
\ executable('eslint') &&
\ syntastic#util#versionIsAtLeast(syntastic#util#getVersion('eslint --version'), [0, 1])
\ executable(self.getExec()) &&
\ syntastic#util#versionIsAtLeast(syntastic#util#getVersion(self.getExecEscaped() . ' --version'), [0, 1])
endfunction
function! SyntaxCheckers_javascript_eslint_GetLocList() dict