Skip to content

Commit

Permalink
Remove bellwether from generated yaml (#99)
Browse files Browse the repository at this point in the history
Related to issue: openrewrite/rewrite-docs#250

Co-authored-by: Mike Solomon <[email protected]>
  • Loading branch information
mike-solomon and mike-solomon authored Jan 24, 2024
1 parent 5244f97 commit 3eefb16
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/main/kotlin/org/openrewrite/RecipeDescriptorExtensions.kt
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,11 @@ fun RecipeDescriptor.asYaml(): String {
if (recipeList.isNotEmpty()) {
s.appendLine("recipeList:")
for (subRecipe in recipeList) {
// https://github.com/openrewrite/rewrite-docs/issues/250
if (subRecipe.name.contains("Bellwether")) {
continue;
}

s.append(" - ${subRecipe.name}")
if (subRecipe.options.isEmpty()) {
s.appendLine()
Expand Down

0 comments on commit 3eefb16

Please sign in to comment.