Skip to content

Commit

Permalink
Add new line to filtered out vulns
Browse files Browse the repository at this point in the history
  • Loading branch information
another-rex committed Jun 24, 2024
1 parent 46aee59 commit e7b146c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pkg/osvscanner/osvscanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -725,7 +725,7 @@ func filterPackageVulns(r reporter.Reporter, pkgVulns models.PackageVulns, confi
for _, vuln := range pkgVulns.Vulnerabilities {
if isUnimportant(pkgVulns.Package.Ecosystem, vuln.Affected) {
unimportantCount++
r.Verbosef("%s has been filtered out due to its unimportance.", vuln.ID)
r.Verbosef("%s has been filtered out due to its unimportance.\n", vuln.ID)

continue
}
Expand All @@ -736,7 +736,7 @@ func filterPackageVulns(r reporter.Reporter, pkgVulns models.PackageVulns, confi
}

if unimportantCount > 0 {
r.Infof("%d unimportant vulnerabilities have been filtered out.", unimportantCount)
r.Infof("%d unimportant vulnerabilities have been filtered out.\n", unimportantCount)
}
}

Expand Down

0 comments on commit e7b146c

Please sign in to comment.