From f95998e5f1585bb8895e24b2f44c1717b5ff79bb Mon Sep 17 00:00:00 2001 From: gmarik Date: Sat, 6 Aug 2011 00:06:51 -0500 Subject: [PATCH] minor improvement --- autoload/vundle/installer.vim | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/autoload/vundle/installer.vim b/autoload/vundle/installer.vim index dc58172..4b30163 100644 --- a/autoload/vundle/installer.vim +++ b/autoload/vundle/installer.vim @@ -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