Skip to content

Commit f4271fe

Browse files
authored
fix async report format summaryJson (Checkmarx#588)
1 parent aa00fe5 commit f4271fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/commands/result.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -858,7 +858,7 @@ func createReport(format,
858858
convertNotAvailableNumberToZero(summary)
859859
return writeHTMLSummary(summaryRpt, summary)
860860
}
861-
if printer.IsFormat(format, printer.FormatSummaryJSON) && isValidScanStatus(summary.Status, printer.FormatSummaryJSON) {
861+
if printer.IsFormat(format, printer.FormatSummaryJSON) {
862862
summaryRpt := createTargetName(targetFile, targetPath, printer.FormatJSON)
863863
convertNotAvailableNumberToZero(summary)
864864
return exportJSONSummaryResults(summaryRpt, summary)

0 commit comments

Comments
 (0)