mirror of
https://github.com/ossf/scorecard.git
synced 2024-09-11 08:55:27 +03:00
🌱 Change the chan to write only (#3793)
- changed the channel to write only Signed-off-by: naveensrinivasan <172697+naveensrinivasan@users.noreply.github.com>
This commit is contained in:
parent
8ac9ca15a3
commit
21edf40ff5
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user