Merge consecutive branches with identical bodies

Proprietary

Combine consecutive if/else if branches that have the same body into a single branch with conditions joined by ||.

io.moderne.javascript.cleanup.MergeIdenticalBranches
mod run . --recipe=io.moderne.javascript.cleanup.MergeIdenticalBranches

Install it once, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.