Use %n instead of \n in format strings
MSALFormat strings should use %n rather than \n to produce platform-specific line separators. Hard-coded \n characters produce incorrect line endings on Windows, whereas %n adapts to the runtime platform automatically.
org. openrewrite. staticanalysis. UsePortableNewlinesmod run . --recipe= org. openrewrite. staticanalysis. UsePortableNewlinesInstall it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.