Skip to content

Commit

Permalink
add
Browse files Browse the repository at this point in the history
  • Loading branch information
rchincha committed Apr 12, 2024
1 parent 8979c9b commit 7c218a8
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions pkg/bom/adapter.go
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
package bom

import (
"github.com/rs/zerolog/log"
"github.com/spdx/tools-golang/spdx/v2/v2_3"
"sigs.k8s.io/bom/pkg/spdx"
)
Expand Down Expand Up @@ -103,6 +104,7 @@ func ConvertFromSyftPackage(pkg *v2_3.Package) *spdx.Package {
}

for _, fil := range pkg.Files {
log.Error().Interface("converted", ConvertFromSyftFile(fil)).Msg("SYFT")
_ = kpkg.AddFile(ConvertFromSyftFile(fil))
}

Expand Down

0 comments on commit 7c218a8

Please sign in to comment.