Add rule ID to text output (#198)

This commit is contained in:
Geoff Baskwill 2018-04-16 01:44:54 -04:00 committed by Grant Murphy
parent c25269ef39
commit b643ac26a4

View file

@ -45,7 +45,7 @@ const (
var text = `Results: var text = `Results:
{{ range $index, $issue := .Issues }} {{ range $index, $issue := .Issues }}
[{{ $issue.File }}:{{ $issue.Line }}] - {{ $issue.What }} (Confidence: {{ $issue.Confidence}}, Severity: {{ $issue.Severity }}) [{{ $issue.File }}:{{ $issue.Line }}] - {{ $issue.RuleID }}: {{ $issue.What }} (Confidence: {{ $issue.Confidence}}, Severity: {{ $issue.Severity }})
> {{ $issue.Code }} > {{ $issue.Code }}
{{ end }} {{ end }}