fix: minor cataloger and docs nits (#2519)

Signed-off-by: Dan Luhring <dluhring@chainguard.dev>
This commit is contained in:
Dan Luhring
2024-01-19 17:29:47 -05:00
committed by GitHub
parent 3eab5932e5
commit df582e8463
4 changed files with 5 additions and 4 deletions
+1
View File
@@ -8,6 +8,7 @@ import (
"github.com/anchore/syft/syft/pkg/cataloger/generic"
)
// NewSwiftPackageManagerCataloger returns a new Swift package manager cataloger object.
func NewSwiftPackageManagerCataloger() pkg.Cataloger {
return generic.NewCataloger("swift-package-manager-cataloger").
WithParserByGlobs(parsePackageResolved, "**/Package.resolved", "**/.package.resolved")