Unwrap else block after return or throw statement
MSALUnwraps the else block when the if block ends with a return or throw statement, reducing nesting and improving code readability.
org. openrewrite. staticanalysis. UnwrapElseAfterReturnmod run . --recipe= org. openrewrite. staticanalysis. UnwrapElseAfterReturnInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.