Skip to content

Commit b1a3464

Browse files
fix issue
1 parent 79a0578 commit b1a3464

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

internal/commands/result.go

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1000,8 +1000,12 @@ func runGetResultCommand(
10001000
formatSbomOptions, targetFile, targetPath, agent, resultsParams, featureFlagsWrapper)
10011001
return err
10021002
} else {
1003-
log.Printf("Scan executed in asynchronous mode or still running. Hence, no policy generated")
10041003

1004+
log.Printf("Scan executed in asynchronous mode or still running. Hence, no policy generated")
1005+
_, err = CreateScanReport(resultsWrapper, risksOverviewWrapper, scsScanOverviewWrapper, exportWrapper,
1006+
nil, resultsPdfReportsWrapper, scan, format, formatPdfToEmail, formatPdfOptions,
1007+
formatSbomOptions, targetFile, targetPath, agent, resultsParams, featureFlagsWrapper)
1008+
return err
10051009
}
10061010
return nil
10071011
}

0 commit comments

Comments
 (0)