minor improvement

This commit is contained in:
gmarik 2011-08-06 00:06:51 -05:00
parent eb9dfefe87
commit f95998e5f1

View File

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