summaryrefslogtreecommitdiff
path: root/autoload
diff options
context:
space:
mode:
authorw0rp <devw0rp@gmail.com>2017-10-23 23:09:40 +0100
committerw0rp <devw0rp@gmail.com>2017-10-23 23:09:40 +0100
commitb952dda386e2e9e0ba145ff8e286879498c65756 (patch)
treeffe3309b636405174b386ccc29d7a7f98489ada7 /autoload
parent231398dddc59b01bc83f5a333af1ae741d31ed51 (diff)
downloadale-b952dda386e2e9e0ba145ff8e286879498c65756.zip
Get all tests to pass on Windows
Diffstat (limited to 'autoload')
-rw-r--r--autoload/ale/engine.vim4
1 files changed, 2 insertions, 2 deletions
diff --git a/autoload/ale/engine.vim b/autoload/ale/engine.vim
index 890d3df2..1b22df46 100644
--- a/autoload/ale/engine.vim
+++ b/autoload/ale/engine.vim
@@ -841,7 +841,7 @@ function! ale#engine#WaitForJobs(deadline) abort
" Gather all of the jobs from every buffer.
for l:info in values(g:ale_buffer_info)
- call extend(l:job_list, l:info.job_list)
+ call extend(l:job_list, get(l:info, 'job_list', []))
endfor
" NeoVim has a built-in API for this, so use that.
@@ -889,7 +889,7 @@ function! ale#engine#WaitForJobs(deadline) abort
" Check again to see if any jobs are running.
for l:info in values(g:ale_buffer_info)
- for l:job_id in l:info.job_list
+ for l:job_id in get(l:info, 'job_list', [])
if ale#job#IsRunning(l:job_id)
let l:has_new_jobs = 1
break