We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4e3627c commit c078213Copy full SHA for c078213
src/main/kotlin/org/openrewrite/ListsOfRecipesWriter.kt
@@ -200,7 +200,15 @@ class ListsOfRecipesWriter(
200
201
for ((tag, recipes) in tagToRecipes) {
202
writeln("## ${tag}")
203
- writeln("\n_${recipes.size} recipe${if (recipes.size != 1) "s" else ""}_\n")
+ writeln(
204
+ "\n_${recipes.size} recipe${
205
+ if (recipes.size != 1) {
206
+ "s"
207
+ } else {
208
+ ""
209
+ }
210
+ }_\n"
211
+ )
212
213
for (recipe in recipes.sortedBy { it.displayName }) {
214
writeln(
@@ -313,4 +321,4 @@ class ListsOfRecipesWriter(
313
321
}
314
322
315
323
316
-}
324
+}
0 commit comments