From ffb729de0ba5c4f5924db13461155a6d50cdfb6e Mon Sep 17 00:00:00 2001 From: Eyal Kapon Date: Mon, 23 Sep 2024 13:05:44 +0300 Subject: [PATCH] Update utils/resultwriter.go Co-authored-by: Assaf Attias <49212512+attiasas@users.noreply.github.com> --- utils/resultwriter.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/resultwriter.go b/utils/resultwriter.go index 6e3ca524..ecbc291e 100644 --- a/utils/resultwriter.go +++ b/utils/resultwriter.go @@ -934,7 +934,7 @@ func PrintJson(output interface{}) error { return nil } -func PrintSarif(results *Results, isMultipleRoots, includeLicenses bool, subScans []SubScanType, commandType CommandType) error { +func PrintSarif(results *Results, isMultipleRoots, includeLicenses bool, subScans []SubScanType) error { sarifReport, err := GenerateSarifReportFromResults(results, isMultipleRoots, includeLicenses, nil, subScans, commandType) if err != nil { return err