Checker flow: option "--version" is deprecated.

This commit is contained in:
LCD 47 2016-08-27 09:18:36 +03:00
parent a20a5e3352
commit 68f473ecc8
3 changed files with 4 additions and 4 deletions

View File

@ -3147,13 +3147,13 @@ accepts the standard options described at |syntastic-config-makeprg|.
Notes~
Syntastic requires "Flow" version 0.6 or later.
Syntastic requires "Flow" version 0.18.1 or later.
To use "Flow" with your projects, you must:
a. Install it:
https://github.com/sindresorhus/flow-bin
https://github.com/flowtype/flow-bin
b. Configure your project:
>

View File

@ -19,7 +19,7 @@ if has('reltime')
lockvar! g:_SYNTASTIC_START
endif
let g:_SYNTASTIC_VERSION = '3.7.0-199'
let g:_SYNTASTIC_VERSION = '3.7.0-200'
lockvar g:_SYNTASTIC_VERSION
" Sanity checks {{{1

View File

@ -25,7 +25,7 @@ function! SyntaxCheckers_javascript_flow_IsAvailable() dict
if !executable(self.getExec())
return 0
endif
return syntastic#util#versionIsAtLeast(self.getVersion(), [0, 6])
return syntastic#util#versionIsAtLeast(self.getVersion(self.getExecEscaped() . ' version'), [0, 18, 1])
endfunction
function! SyntaxCheckers_javascript_flow_GetLocList() dict