From d0286841b650229b555d7aec0a78572855074b83 Mon Sep 17 00:00:00 2001 From: AdamKorcz Date: Thu, 5 Oct 2023 15:53:28 +0100 Subject: [PATCH] fix wrong check name Signed-off-by: AdamKorcz --- checks/binary_artifact.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/checks/binary_artifact.go b/checks/binary_artifact.go index 9d64bf2a1239..f57d154524f9 100644 --- a/checks/binary_artifact.go +++ b/checks/binary_artifact.go @@ -54,7 +54,7 @@ func BinaryArtifacts(c *checker.CheckRequest) checker.CheckResult { findings, err := zrunner.Run(pRawResults, probes.BinaryArtifacts) if err != nil { e := sce.WithMessage(sce.ErrScorecardInternal, err.Error()) - return checker.CreateRuntimeErrorResult(CheckVulnerabilities, e) + return checker.CreateRuntimeErrorResult(CheckBinaryArtifacts, e) } return evaluation.BinaryArtifacts(CheckBinaryArtifacts, findings, c.Dlogger)