Skip to content

Commit

Permalink
🌱 Change the chan to write only (#3793)
Browse files Browse the repository at this point in the history
- changed the channel to write only

Signed-off-by: naveensrinivasan <[email protected]>
  • Loading branch information
naveensrinivasan authored Jan 16, 2024
1 parent 8ac9ca1 commit 21edf40
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/scorecard.go
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ func runEnabledChecks(ctx context.Context,
repo clients.Repo,
request *checker.CheckRequest,
checksToRun checker.CheckNameToFnMap,
resultsCh chan checker.CheckResult,
resultsCh chan<- checker.CheckResult,
) {
wg := sync.WaitGroup{}
for checkName, checkFn := range checksToRun {
Expand Down

0 comments on commit 21edf40

Please sign in to comment.