mirror of
https://github.com/anchore/syft.git
synced 2026-11-02 15:36:41 +01:00
Follow convention for naming catalogers (#2277)
* follow convention for naming catalogers Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> * fix cataloger name example Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com> --------- Signed-off-by: Alex Goodman <wagoodman@users.noreply.github.com>
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
/*
|
||||
Package swift provides a concrete Cataloger implementation for Podfile.lock and Package.resolved files.
|
||||
Package swift provides a concrete Cataloger implementation relating to packages within the swift language ecosystem.
|
||||
*/
|
||||
package swift
|
||||
|
||||
@@ -8,7 +8,7 @@ import (
|
||||
)
|
||||
|
||||
func NewSwiftPackageManagerCataloger() *generic.Cataloger {
|
||||
return generic.NewCataloger("spm-cataloger").
|
||||
return generic.NewCataloger("swift-package-manager-cataloger").
|
||||
WithParserByGlobs(parsePackageResolved, "**/Package.resolved", "**/.package.resolved")
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user