fix: empty list instead of empty dictionary

Co-authored-by: w0rp <w0rp@users.noreply.github.com>
This commit is contained in:
Peter Benjamin 2023-08-21 09:44:11 -07:00 committed by GitHub
parent 2bb2b8242e
commit 637b735a74
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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