Migrate Gatling exitBlockOnFail(chain) to exitBlockOnFail().on(chain)

MSAL

Gatling 3.10 changed the Java SDK's exitBlockOnFail to take the chain in a separate on call, so exitBlockOnFail(chain) becomes exitBlockOnFail().on(chain).

org.openrewrite.java.testing.gatling.MigrateGatlingExitBlockOnFail
mod run . --recipe=org.openrewrite.java.testing.gatling.MigrateGatlingExitBlockOnFail

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