fix(terraform): add more context from snyk to linter messages

This commit is contained in:
Peter Benjamin 2023-08-09 21:15:27 -07:00
parent 16306116fb
commit 2bb2b8242e
1 changed files with 1 additions and 1 deletions

View File

@ -26,7 +26,7 @@ function! ale_linters#terraform#snyk#Handle(buffer, lines) abort
call add(l:output, { call add(l:output, {
\ 'filename': l:result.targetFilePath, \ 'filename': l:result.targetFilePath,
\ 'lnum': l:iac_issues.lineNumber, \ '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, \ 'code': l:iac_issues.publicId,
\ 'type': l:type, \ 'type': l:type,
\}) \})