Skip to content
This repository was archived by the owner on Jul 18, 2025. It is now read-only.

Commit 42cc624

Browse files
committed
lint: ignore gocyclo on sbom.toPackage
Signed-off-by: Yves Brissaud <[email protected]>
1 parent a44edfd commit 42cc624

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sbom/syft.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -130,7 +130,7 @@ type sourcePackage struct {
130130
relationship string
131131
}
132132

133-
func toPackage(p pkg2.Package, rels []artifact.Relationship, qualifiers map[string]string, lm *types.LayerMapping, pm packageMapping) []types.Package {
133+
func toPackage(p pkg2.Package, rels []artifact.Relationship, qualifiers map[string]string, lm *types.LayerMapping, pm packageMapping) []types.Package { //nolint:gocyclo
134134
pkg := types.Package{
135135
Purl: getPURL(p),
136136
Licenses: p.Licenses,

0 commit comments

Comments
 (0)