Skip to content

Commit a941aa8

Browse files
committed
Add missing braces
1 parent 1f70c19 commit a941aa8

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

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

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -255,16 +255,13 @@ class ListsOfRecipesWriter(
255255
for ((artifact, recipes) in recipesByArtifact) {
256256
writeln("## ${artifact}\n")
257257

258-
for (recipe in recipes.sortedBy { it.displayName })
258+
for (recipe in recipes.sortedBy { it.displayName }) {
259259
writeln(
260260
"* [${recipe.descriptor.displayNameEscaped()}](/recipes/${
261-
RecipeMarkdownGenerator.Companion.getRecipePath(
262-
recipe.descriptor
263-
)
264-
}.md) - _${
265-
recipe.descriptor.descriptionEscaped()
266-
}_"
261+
RecipeMarkdownGenerator.Companion.getRecipePath(recipe.descriptor)
262+
}.md) - _${recipe.descriptor.descriptionEscaped()}_"
267263
)
264+
}
268265
}
269266
}
270267
}

0 commit comments

Comments
 (0)