From d39bea4994832ea7ddc54795aea3d194e4f228aa Mon Sep 17 00:00:00 2001 From: dortam888 Date: Sun, 25 Aug 2024 15:18:37 +0300 Subject: [PATCH] fixed logic for build scan command that made it print the vulnerabilities table twice when --vuln is on instead of printing violations table and vulnerabilities table --- commands/scan/buildscan.go | 1 - 1 file changed, 1 deletion(-) diff --git a/commands/scan/buildscan.go b/commands/scan/buildscan.go index 66ad5d90..29f7a3d9 100644 --- a/commands/scan/buildscan.go +++ b/commands/scan/buildscan.go @@ -155,7 +155,6 @@ func (bsc *BuildScanCommand) runBuildScanAndPrintResults(xrayManager *xray.XrayS resultsPrinter := utils.NewResultsWriter(scanResults). SetOutputFormat(bsc.outputFormat). - SetIncludeVulnerabilities(bsc.includeVulnerabilities). SetIncludeLicenses(false). SetIsMultipleRootProject(true). SetPrintExtendedTable(bsc.printExtendedTable).