Skip to content

Commit e479e64

Browse files
committed
fix id mapping
1 parent 2cc64a5 commit e479e64

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/upload.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ func processSarif(sarif Sarif) [][]map[string]interface{} {
9797
codacyIssues = append(codacyIssues, map[string]interface{}{
9898
"source": location.PhysicalLocation.ArtifactLocation.URI,
9999
"line": location.PhysicalLocation.Region.StartLine,
100-
"type": modifiedType,
100+
"type": pattern.ID,
101101
"message": result.Message.Text,
102102
"level": pattern.Level,
103103
"category": pattern.Category,

0 commit comments

Comments
 (0)