Puppet checker: don't redirect stderr when checking version.
This commit is contained in:
parent
abff1d81e9
commit
6b76c26cba
@ -19,7 +19,7 @@ if has('reltime')
|
||||
lockvar! g:_SYNTASTIC_START
|
||||
endif
|
||||
|
||||
let g:_SYNTASTIC_VERSION = '3.6.0-11'
|
||||
let g:_SYNTASTIC_VERSION = '3.6.0-14'
|
||||
lockvar g:_SYNTASTIC_VERSION
|
||||
|
||||
" Sanity checks {{{1
|
||||
|
@ -20,8 +20,7 @@ set cpo&vim
|
||||
|
||||
function! SyntaxCheckers_puppet_puppet_GetLocList() dict
|
||||
if !exists('s:puppet_new')
|
||||
let ver = self.getVersion(self.getExecEscaped() . ' --version 2>' . syntastic#util#DevNull())
|
||||
let s:puppet_new = syntastic#util#versionIsAtLeast(ver, [2, 7, 0])
|
||||
let s:puppet_new = syntastic#util#versionIsAtLeast(self.getVersion(), [2, 7, 0])
|
||||
endif
|
||||
|
||||
let makeprg = self.makeprgBuild({
|
||||
|
Loading…
x
Reference in New Issue
Block a user