mirror of https://github.com/dense-analysis/ale
fix(terraform): add more context from snyk to linter messages
This commit is contained in:
parent
16306116fb
commit
2bb2b8242e
|
@ -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,
|
||||||
\})
|
\})
|
||||||
|
|
Loading…
Reference in New Issue