Merge consecutive branches with identical bodies
ProprietaryCombine consecutive if/else if branches that have the same body into a single branch with conditions joined by ||.
org. openrewrite. javascript. cleanup. MergeIdenticalBranchesmod run . --recipe= org. openrewrite. javascript. cleanup. MergeIdenticalBranchesInstall it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.