Skip to content

Commit

Permalink
use impl
Browse files Browse the repository at this point in the history
  • Loading branch information
attiasas committed May 9, 2024
1 parent 7dae69c commit 15e8483
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion utils/securityCommandSummary.go
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,11 @@ type SecurityCommandsSummary struct {
type B []ScanCommandSummaryResult

func SecurityCommandsGitHubSummary() *githubsummaries.GitHubActionSummaryImpl {
return &githubsummaries.GitHubActionSummaryImpl{}
return githubsummaries.NewGitHubActionSummaryImpl(&SecurityCommandsSummary{
buildScanCommands: []formats.SummaryResults{},
scanCommands: []formats.SummaryResults{},
auditCommands: []formats.SummaryResults{},
})
}

func RecordSecurityCommandOutput(manager *githubsummaries.GitHubActionSummaryImpl, content ScanCommandSummaryResult) error {
Expand Down

0 comments on commit 15e8483

Please sign in to comment.