Skip to content

Commit 5bcc334

Browse files
authored
Merge pull request #84 from codacy/fix_dartanalyzer_driver_and_sarif
fix id mapping on sarif
2 parents 613f865 + e479e64 commit 5bcc334

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)