mirror of
https://github.com/anchore/syft.git
synced 2025-11-18 17:03:17 +01:00
cataloger: update controller to use javascript (vs. npm)
Signed-off-by: Alfredo Deza <adeza@anchore.com>
This commit is contained in:
parent
d79cecea3e
commit
713f660528
@ -9,7 +9,7 @@ import (
|
|||||||
"github.com/anchore/syft/syft/cataloger/dpkg"
|
"github.com/anchore/syft/syft/cataloger/dpkg"
|
||||||
golang "github.com/anchore/syft/syft/cataloger/golang"
|
golang "github.com/anchore/syft/syft/cataloger/golang"
|
||||||
"github.com/anchore/syft/syft/cataloger/java"
|
"github.com/anchore/syft/syft/cataloger/java"
|
||||||
"github.com/anchore/syft/syft/cataloger/npm"
|
"github.com/anchore/syft/syft/cataloger/javascript"
|
||||||
"github.com/anchore/syft/syft/cataloger/python"
|
"github.com/anchore/syft/syft/cataloger/python"
|
||||||
"github.com/anchore/syft/syft/cataloger/rpmdb"
|
"github.com/anchore/syft/syft/cataloger/rpmdb"
|
||||||
"github.com/anchore/syft/syft/event"
|
"github.com/anchore/syft/syft/event"
|
||||||
@ -53,7 +53,7 @@ func newController() controller {
|
|||||||
ctrlr.add(java.NewCataloger())
|
ctrlr.add(java.NewCataloger())
|
||||||
ctrlr.add(apkdb.NewCataloger())
|
ctrlr.add(apkdb.NewCataloger())
|
||||||
ctrlr.add(golang.NewCataloger())
|
ctrlr.add(golang.NewCataloger())
|
||||||
ctrlr.add(npm.NewCataloger())
|
ctrlr.add(javascript.NewCataloger())
|
||||||
return ctrlr
|
return ctrlr
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user