From 713f660528e742b715ba18277d266ae7efad3527 Mon Sep 17 00:00:00 2001 From: Alfredo Deza Date: Tue, 28 Jul 2020 15:17:32 -0400 Subject: [PATCH] cataloger: update controller to use javascript (vs. npm) Signed-off-by: Alfredo Deza --- syft/cataloger/controller.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/syft/cataloger/controller.go b/syft/cataloger/controller.go index 14c0ce735bc..b82318cb3ef 100644 --- a/syft/cataloger/controller.go +++ b/syft/cataloger/controller.go @@ -9,7 +9,7 @@ import ( "github.com/anchore/syft/syft/cataloger/dpkg" golang "github.com/anchore/syft/syft/cataloger/golang" "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/rpmdb" "github.com/anchore/syft/syft/event" @@ -53,7 +53,7 @@ func newController() controller { ctrlr.add(java.NewCataloger()) ctrlr.add(apkdb.NewCataloger()) ctrlr.add(golang.NewCataloger()) - ctrlr.add(npm.NewCataloger()) + ctrlr.add(javascript.NewCataloger()) return ctrlr }