Skip to content

Commit

Permalink
fix wrong check name
Browse files Browse the repository at this point in the history
Signed-off-by: AdamKorcz <[email protected]>
  • Loading branch information
AdamKorcz committed Oct 5, 2023
1 parent 3386857 commit d028684
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion checks/binary_artifact.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Check warning on line 57 in checks/binary_artifact.go

View check run for this annotation

Codecov / codecov/patch

checks/binary_artifact.go#L56-L57

Added lines #L56 - L57 were not covered by tests
}

return evaluation.BinaryArtifacts(CheckBinaryArtifacts, findings, c.Dlogger)
Expand Down

0 comments on commit d028684

Please sign in to comment.