Checker flow: option "--version" is deprecated.
This commit is contained in:
parent
a20a5e3352
commit
68f473ecc8
@ -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:
|
||||
>
|
||||
|
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user