Skip to content

Commit

Permalink
Update src/pkg/packager/create.go
Browse files Browse the repository at this point in the history
Co-authored-by: Wayne Starr <[email protected]>
  • Loading branch information
mike-winberry and Racer159 committed Jun 12, 2023
1 parent 80c6db6 commit ef05fc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/pkg/packager/create.go
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@ func (p *Packager) getFilesToSBOM(component types.ZarfComponent) (*types.Compone

appendSBOMFiles := func(path string) {
if utils.IsDir(path) {
files, _ := utils.RecursiveFileList(path, nil, true)
files, _ := utils.RecursiveFileList(path, nil, false)
componentSBOM.Files = append(componentSBOM.Files, files...)
} else {
componentSBOM.Files = append(componentSBOM.Files, path)
Expand Down

0 comments on commit ef05fc7

Please sign in to comment.