Merge identical branches
ProprietaryMerge consecutive if/else-if branches that have identical bodies by combining their conditions with ||.
org. openrewrite. golang. codequality. MergeIdenticalBranchesmod run . --recipe= org. openrewrite. golang. codequality. MergeIdenticalBranchesInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.