mirror of https://github.com/dense-analysis/ale
fix: empty list instead of empty dictionary
Co-authored-by: w0rp <w0rp@users.noreply.github.com>
This commit is contained in:
parent
2bb2b8242e
commit
637b735a74
|
@ -10,7 +10,7 @@ let s:separator = has('win32') ? '\' : '/'
|
|||
|
||||
function! ale_linters#terraform#snyk#Handle(buffer, lines) abort
|
||||
let l:output = []
|
||||
let l:json = ale#util#FuzzyJSONDecode(a:lines, {})
|
||||
let l:json = ale#util#FuzzyJSONDecode(a:lines, [])
|
||||
|
||||
for l:result in l:json
|
||||
if l:result.ok is# v:false
|
||||
|
|
Loading…
Reference in New Issue