Skip to content

Commit 76cf210

Browse files
kendrickcurtisafsmeira
authored andcommitted
fixed missing vuln
1 parent 649f440 commit 76cf210

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/tool/openssf_scanner.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -192,7 +192,7 @@ func (s *OpenSSFScanner) createIssue(pkg ftypes.Package, target string, cand osv
192192
// scanKnownManifestsIfNoResults checks known manifests when Trivy produced no results
193193
func (s *OpenSSFScanner) scanKnownManifestsIfNoResults(report ptypes.Report, toolExecution codacy.ToolExecution) []codacy.Result {
194194
var out []codacy.Result
195-
if len(report.Results) != 0 || toolExecution.Files == nil {
195+
if toolExecution.Files == nil {
196196
return out
197197
}
198198
for _, f := range *toolExecution.Files {

0 commit comments

Comments
 (0)