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