Puppet checker: don't redirect stderr when checking version.

This commit is contained in:
LCD 47 2015-01-31 12:38:13 +02:00
parent abff1d81e9
commit 6b76c26cba
2 changed files with 2 additions and 3 deletions

View File

@ -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

View File

@ -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({