Skip to content

Commit

Permalink
Update pkg/osvscanner/osvscanner.go
Browse files Browse the repository at this point in the history
  • Loading branch information
another-rex authored Nov 1, 2023
1 parent 83e6a4f commit 2adc483
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/osvscanner/osvscanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,8 @@ func scanDirWithVendoredLibs(r reporter.Reporter, query *osv.BatchedQuery, path
r.PrintText(fmt.Sprintf("Scanning potential vendored dir: %s\n", libPath))
results, err := queryDetermineVersions(libPath)
if err != nil {
return err
r.PrintText(fmt.Sprintf("Error scanning sub-directory '%s' with error: %v", libPath, err))
continue
}

if len(results.Matches) > 0 && results.Matches[0].Score > determineVersionThreshold {
Expand Down

0 comments on commit 2adc483

Please sign in to comment.