Skip to content

Commit

Permalink
Update utils/resultwriter.go
Browse files Browse the repository at this point in the history
Co-authored-by: Assaf Attias <[email protected]>
  • Loading branch information
eyalk007 and attiasas authored Sep 23, 2024
1 parent 3368cb7 commit ffb729d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion utils/resultwriter.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Check failure on line 938 in utils/resultwriter.go

View workflow job for this annotation

GitHub Actions / Static-Check

undefined: commandType) (typecheck)

Check failure on line 938 in utils/resultwriter.go

View workflow job for this annotation

GitHub Actions / Static-Check

undefined: commandType) (typecheck)

Check failure on line 938 in utils/resultwriter.go

View workflow job for this annotation

GitHub Actions / Static-Check

undefined: commandType) (typecheck)
if err != nil {
return err
Expand Down

0 comments on commit ffb729d

Please sign in to comment.