Avoid System.exit in library code
ProprietaryFinds System.exit and sys.exit calls which terminate the JVM. Avoid using these in library code; prefer exceptions or controlled shutdown.
org. openrewrite. scala. cleanup. AvoidSystemExitmod run . --recipe= org. openrewrite. scala. cleanup. AvoidSystemExitInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.