From 45a36bf2fced6bb130aeada21eed42f3e2ea3b6c Mon Sep 17 00:00:00 2001 From: LCD 47 Date: Sat, 10 May 2014 22:29:15 +0300 Subject: [PATCH] eslint: honour the exec parameter. --- plugin/syntastic.vim | 2 +- syntax_checkers/javascript/eslint.vim | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/syntastic.vim b/plugin/syntastic.vim index b0b938f4..71405d59 100644 --- a/plugin/syntastic.vim +++ b/plugin/syntastic.vim @@ -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 diff --git a/syntax_checkers/javascript/eslint.vim b/syntax_checkers/javascript/eslint.vim index e6c2c4be..d416a4dd 100644 --- a/syntax_checkers/javascript/eslint.vim +++ b/syntax_checkers/javascript/eslint.vim @@ -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