Skip to content
This repository was archived by the owner on Sep 20, 2023. It is now read-only.

Commit ebfba7e

Browse files
committed
Puppet-lint no longer requires puppet.
1 parent 2337c65 commit ebfba7e

File tree

2 files changed

+3
-6
lines changed

2 files changed

+3
-6
lines changed

plugin/syntastic.vim

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ if has('reltime')
1919
lockvar! g:_SYNTASTIC_START
2020
endif
2121

22-
let g:_SYNTASTIC_VERSION = '3.6.0-66'
22+
let g:_SYNTASTIC_VERSION = '3.6.0-67'
2323
lockvar g:_SYNTASTIC_VERSION
2424

2525
" Sanity checks {{{1

syntax_checkers/puppet/puppetlint.vim

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -19,13 +19,10 @@ let s:save_cpo = &cpo
1919
set cpo&vim
2020

2121
function! SyntaxCheckers_puppet_puppetlint_IsAvailable() dict
22-
call self.log("executable('puppet') = " . executable('puppet') . ', ' .
23-
\ 'executable(' . string(self.getExec()) . ') = ' . executable(self.getExec()))
24-
if !executable('puppet') || !executable(self.getExec())
22+
if !executable(self.getExec())
2523
return 0
2624
endif
27-
let ver = self.getVersion(self.getExecEscaped() . ' --version 2>' . syntastic#util#DevNull())
28-
return syntastic#util#versionIsAtLeast(ver, [0, 1, 10])
25+
return syntastic#util#versionIsAtLeast(self.getVersion(), [0, 2])
2926
endfunction
3027

3128
function! SyntaxCheckers_puppet_puppetlint_GetLocList() dict

0 commit comments

Comments
 (0)