Skip to content

Commit c078213

Browse files
committed
Apply formatter to ListsOfRecipesWriter.kt
1 parent 4e3627c commit c078213

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

src/main/kotlin/org/openrewrite/ListsOfRecipesWriter.kt

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -200,7 +200,15 @@ class ListsOfRecipesWriter(
200200

201201
for ((tag, recipes) in tagToRecipes) {
202202
writeln("## ${tag}")
203-
writeln("\n_${recipes.size} recipe${if (recipes.size != 1) "s" else ""}_\n")
203+
writeln(
204+
"\n_${recipes.size} recipe${
205+
if (recipes.size != 1) {
206+
"s"
207+
} else {
208+
""
209+
}
210+
}_\n"
211+
)
204212

205213
for (recipe in recipes.sortedBy { it.displayName }) {
206214
writeln(
@@ -313,4 +321,4 @@ class ListsOfRecipesWriter(
313321
}
314322
}
315323
}
316-
}
324+
}

0 commit comments

Comments
 (0)