Skip to content

Commit c635702

Browse files
fix toolname comparison during the analysis
1 parent 642d8bf commit c635702

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

cmd/analyze.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -245,7 +245,7 @@ func loadsToolAndPatterns(toolName string, onlyEnabledPatterns bool) (domain.Too
245245
}
246246
var tool domain.Tool
247247
for _, t := range toolsResponse {
248-
if t.Name == toolName {
248+
if t.ShortName == toolName {
249249
tool = t
250250
break
251251
}

0 commit comments

Comments
 (0)