From 15e84838fcc6ce707170b7094851101f8796da60 Mon Sep 17 00:00:00 2001 From: attiasas Date: Thu, 9 May 2024 15:11:18 +0300 Subject: [PATCH] use impl --- utils/securityCommandSummary.go | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/utils/securityCommandSummary.go b/utils/securityCommandSummary.go index 13c143aa..c2c9f850 100644 --- a/utils/securityCommandSummary.go +++ b/utils/securityCommandSummary.go @@ -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 {