Skip to content

Commit

Permalink
Remove unexpected colons
Browse files Browse the repository at this point in the history
Fixes: #113
  • Loading branch information
mike-solomon committed May 1, 2024
1 parent 6953e4f commit 50f9eae
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ fun RecipeDescriptor.asYaml(): String {
}

s.append(" - ${subRecipe.name}")
if (subRecipe.options.isEmpty()) {
if (subRecipe.options.isEmpty() || subRecipe.options.all { it.value == null }) {
s.appendLine()
} else {
s.appendLine(":")
Expand Down

0 comments on commit 50f9eae

Please sign in to comment.