From 2bb2b8242e3bc7c9dc573707664d7f6285c6badb Mon Sep 17 00:00:00 2001 From: Peter Benjamin Date: Wed, 9 Aug 2023 21:15:27 -0700 Subject: [PATCH] fix(terraform): add more context from snyk to linter messages --- 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 3a955284..5dc4bc60 100644 --- a/ale_linters/terraform/snyk.vim +++ b/ale_linters/terraform/snyk.vim @@ -26,7 +26,7 @@ function! ale_linters#terraform#snyk#Handle(buffer, lines) abort call add(l:output, { \ 'filename': l:result.targetFilePath, \ 'lnum': l:iac_issues.lineNumber, - \ 'text': l:iac_issues.iacDescription.issue, + \ 'text': l:iac_issues.iacDescription.issue . ale#Pad('.') . ale#Pad(l:iac_issues.iacDescription.impact) . ale#Pad('.') . ale#Pad(l:iac_issues.iacDescription.resolve), \ 'code': l:iac_issues.publicId, \ 'type': l:type, \})