We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f0c1709 commit 3482b3fCopy full SHA for 3482b3f
analyzer-output-parser/main.go
@@ -119,17 +119,12 @@ func loadApplications() error {
119
// we don't need them in the report, ignore them
120
for idx := range app.Rulesets {
121
rs := &app.Rulesets[idx]
122
- for mapKey, violation := range rs.Violations {
+ for _, violation := range rs.Violations {
123
violation.Extras = nil
124
for idx := range violation.Incidents {
125
inc := &violation.Incidents[idx]
126
inc.Variables = make(map[string]interface{})
127
- // Propagate more detailed description to the Violation/display in UI
128
- if idx == 0 {
129
- violation.Description = fmt.Sprintf("%s\n\n%s", violation.Description, inc.Message)
130
- }
131
}
132
- rs.Violations[mapKey] = violation
133
134
135
0 commit comments