eslint: honour the exec parameter.
This commit is contained in:
parent
716038ea46
commit
45a36bf2fc
@ -19,7 +19,7 @@ if has('reltime')
|
|||||||
lockvar! g:syntastic_start
|
lockvar! g:syntastic_start
|
||||||
endif
|
endif
|
||||||
|
|
||||||
let g:syntastic_version = '3.4.0-67'
|
let g:syntastic_version = '3.4.0-68'
|
||||||
lockvar g:syntastic_version
|
lockvar g:syntastic_version
|
||||||
|
|
||||||
" Sanity checks {{{1
|
" Sanity checks {{{1
|
||||||
|
@ -23,8 +23,8 @@ set cpo&vim
|
|||||||
|
|
||||||
function! SyntaxCheckers_javascript_eslint_IsAvailable() dict
|
function! SyntaxCheckers_javascript_eslint_IsAvailable() dict
|
||||||
return
|
return
|
||||||
\ executable('eslint') &&
|
\ executable(self.getExec()) &&
|
||||||
\ syntastic#util#versionIsAtLeast(syntastic#util#getVersion('eslint --version'), [0, 1])
|
\ syntastic#util#versionIsAtLeast(syntastic#util#getVersion(self.getExecEscaped() . ' --version'), [0, 1])
|
||||||
endfunction
|
endfunction
|
||||||
|
|
||||||
function! SyntaxCheckers_javascript_eslint_GetLocList() dict
|
function! SyntaxCheckers_javascript_eslint_GetLocList() dict
|
||||||
|
Loading…
x
Reference in New Issue
Block a user