mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-03-13 02:05:40 +08:00
Fix up: do not add invalid jobid
This commit is contained in:
parent
2845282410
commit
e356ded27d
@ -412,8 +412,8 @@ function! s:build(repo) abort
|
||||
\ 'on_exit' : function('s:on_build_exit'),
|
||||
\ 'cwd' : a:repo.path,
|
||||
\ })
|
||||
let s:building_repos[jobid . ''] = a:repo
|
||||
if jobid > 0
|
||||
let s:building_repos[jobid . ''] = a:repo
|
||||
call s:msg_on_build_start(a:repo.name)
|
||||
elseif jobid == 0
|
||||
call s:msg_on_build_failed(a:repo.name)
|
||||
|
Loading…
x
Reference in New Issue
Block a user