Skip to content

Commit

Permalink
refactor: add blank line before continue
Browse files Browse the repository at this point in the history
  • Loading branch information
giovanni-bozzano committed Aug 26, 2024
1 parent 06cb708 commit 5ab1668
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions pkg/osvscanner/osvscanner.go
Original file line number Diff line number Diff line change
Expand Up @@ -970,6 +970,7 @@ func filterIgnoredPackages(r reporter.Reporter, packages []scannedPackage, confi
if ignore, ignoreLine := configToUse.ShouldIgnorePackageVersion(p.Name, p.Version, string(p.Ecosystem)); ignore {
pkgString := fmt.Sprintf("%s/%s/%s", p.Ecosystem, p.Name, p.Version)
r.Infof("Package %s has been filtered out because: %s\n", pkgString, ignoreLine.Reason)

continue
}
out = append(out, p)
Expand Down

0 comments on commit 5ab1668

Please sign in to comment.