Skip to content

Commit f9d9150

Browse files
committed
Don't generate unnecessary h3
1 parent 260b32f commit f9d9150

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

make_release/notes/generate.nu

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ export def generate-section []: record<section: string, prs: table> -> string {
150150
$body ++= $multiline.notes
151151

152152
# Add single-line summaries
153-
if ($multiline | is-not-empty) {
153+
if ($multiline | is-not-empty) and ($bullet | is-not-empty) {
154154
$body ++= [$"### ($section.h3)"]
155155
}
156156
$body ++= $bullet | each {|pr| "* " ++ $pr.notes ++ $" \(($pr | pr-link)\)" }

0 commit comments

Comments
 (0)