mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-23 20:20:05 +08:00
Fix undefinded value
This commit is contained in:
parent
a3014e1d8b
commit
c028411be3
@ -309,7 +309,7 @@ endfunction
|
||||
" @vimlint(EVL103, 0, a:event)
|
||||
|
||||
function! SpaceVim#plugins#runner#status() abort
|
||||
if s:status.is_running == 0
|
||||
if s:status.is_running == 0 && exists('s:end_time')
|
||||
return 'exit code : ' . s:status.exit_code
|
||||
\ . ' time: ' . s:STRING.trim(reltimestr(s:end_time))
|
||||
\ . ' language: ' . get(s:, 'selected_language', &ft)
|
||||
|
Loading…
Reference in New Issue
Block a user