verbose logging
This commit is contained in:
parent
db8c5d5d62
commit
42f5825f70
@ -131,6 +131,10 @@ func! s:sync(bang, bundle) abort
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
let out = s:system(cmd)
|
let out = s:system(cmd)
|
||||||
|
call s:log('')
|
||||||
|
call s:log('Bundle '.a:bundle.name_spec)
|
||||||
|
call s:log('$ '.cmd)
|
||||||
|
call s:log('> '.out)
|
||||||
|
|
||||||
if 0 != v:shell_error
|
if 0 != v:shell_error
|
||||||
return 'error'
|
return 'error'
|
||||||
@ -144,7 +148,7 @@ func! s:sync(bang, bundle) abort
|
|||||||
endf
|
endf
|
||||||
|
|
||||||
func! s:system(cmd) abort
|
func! s:system(cmd) abort
|
||||||
return s:log(system(a:cmd))
|
return system(a:cmd)
|
||||||
endf
|
endf
|
||||||
|
|
||||||
func! s:log(str) abort
|
func! s:log(str) abort
|
||||||
|
Loading…
Reference in New Issue
Block a user