BREAKING: migrate the sarif template to Go code (#1437)

Co-authored-by: knqyf263 <knqyf263@gmail.com>
This commit is contained in:
afdesk
2022-01-12 12:49:47 +06:00
committed by GitHub
parent 714b5ca246
commit 8da20c8c92
21 changed files with 624 additions and 369 deletions

View File

@@ -77,6 +77,7 @@ func runWithTimeout(ctx context.Context, opt Option, initializeScanner Initializ
}
if err = pkgReport.Write(report, pkgReport.Option{
AppVersion: opt.GlobalOption.AppVersion,
Format: opt.Format,
Output: opt.Output,
Severities: opt.Severities,