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 ca0c41f commit 3ebc452Copy full SHA for 3ebc452
cmd/upload.go
@@ -92,7 +92,7 @@ func processSarif(sarif Sarif) [][]map[string]interface{} {
92
if toolName == "pmd" || toolName == "pmd-7" {
93
var language string
94
var ruleset string
95
- // Try to extract ruleset from tool.driver.rules if available
+ // Extract ruleset and language from rules properties if available
96
rules := run.Tool.Driver.Rules[result.RuleIndex]
97
if rules.HelpURI != "" {
98
if parts := strings.Split(rules.HelpURI, "pmd_rules_"); len(parts) > 1 {
0 commit comments