minor improvement
This commit is contained in:
parent
eb9dfefe87
commit
f95998e5f1
@ -132,12 +132,11 @@ func! s:sync(bang, bundle) abort
|
||||
endf
|
||||
|
||||
func! s:system(cmd) abort
|
||||
let output = system(a:cmd)
|
||||
call s:log(output)
|
||||
return output
|
||||
return s:log(system(a:cmd))
|
||||
endf
|
||||
|
||||
func! s:log(str) abort
|
||||
if !exists('g:vundle_log') | let g:vundle_log = [] | endif
|
||||
call add(g:vundle_log, a:str)
|
||||
return a:str
|
||||
endf
|
||||
|
Loading…
Reference in New Issue
Block a user