From 637b735a74d20344d615f56569a88f0c5462a026 Mon Sep 17 00:00:00 2001 From: Peter Benjamin Date: Mon, 21 Aug 2023 09:44:11 -0700 Subject: [PATCH] fix: empty list instead of empty dictionary Co-authored-by: w0rp --- ale_linters/terraform/snyk.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ale_linters/terraform/snyk.vim b/ale_linters/terraform/snyk.vim index 5dc4bc60..130c4911 100644 --- a/ale_linters/terraform/snyk.vim +++ b/ale_linters/terraform/snyk.vim @@ -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