Skip to content

Commit

Permalink
fix issue
Browse files Browse the repository at this point in the history
  • Loading branch information
margaritalm committed Jan 16, 2025
1 parent 79a0578 commit b1a3464
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion internal/commands/result.go
Original file line number Diff line number Diff line change
Expand Up @@ -1000,8 +1000,12 @@ func runGetResultCommand(
formatSbomOptions, targetFile, targetPath, agent, resultsParams, featureFlagsWrapper)
return err
} else {
log.Printf("Scan executed in asynchronous mode or still running. Hence, no policy generated")

log.Printf("Scan executed in asynchronous mode or still running. Hence, no policy generated")
_, err = CreateScanReport(resultsWrapper, risksOverviewWrapper, scsScanOverviewWrapper, exportWrapper,
nil, resultsPdfReportsWrapper, scan, format, formatPdfToEmail, formatPdfOptions,
formatSbomOptions, targetFile, targetPath, agent, resultsParams, featureFlagsWrapper)
return err
}
return nil
}
Expand Down

0 comments on commit b1a3464

Please sign in to comment.