Find .also { println(it) } debug patterns
Proprietary.also { println(it) } is a side-channel print left over from debugging. It survives compilation, runs in production, and is invisible at the call site — remove it or route the value through a logger.
org. openrewrite. kotlin. bestpractices. FindAlsoPrintln$KtRecipemod run . --recipe= 'org. openrewrite. kotlin. bestpractices. FindAlsoPrintln$KtRecipe'Install it once from Recipe actions, then run it on every repository under the current directory. New to the Moderne CLI? Set it up.