We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e2d75c4 commit 4d31e75Copy full SHA for 4d31e75
src/main/kotlin/org/openrewrite/ListsOfRecipesWriter.kt
@@ -171,7 +171,11 @@ class ListsOfRecipesWriter(
171
// Collect all tags and their associated recipes
172
for (recipeDescriptor in allRecipeDescriptors) {
173
for (tag in recipeDescriptor.tags) {
174
- tagToRecipes.computeIfAbsent(tag) { TreeSet(compareBy { it.name }) }
+ tagToRecipes.computeIfAbsent(
175
+ tag
176
+ .substringBefore('-')
177
+ .substringBefore('_')
178
+ ) { TreeSet(compareBy { it.name }) }
179
.add(recipeDescriptor)
180
}
181
0 commit comments