Avoid channel length check
ProprietaryFind comparisons on channel length such as len(ch) == 0. These are almost always racy because the length can change between the check and the next operation.
org. openrewrite. golang. codequality. AvoidChannelLenCheckmod run . --recipe= org. openrewrite. golang. codequality. AvoidChannelLenCheckInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.