Skip to content

Commit f01bc44

Browse files
committed
Add count to display-notices
1 parent e2c3f6b commit f01bc44

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

make_release/notes/notice.nu

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@ export def display-notices []: table -> nothing {
2121
| sort-by {|i| $types | where type == $i.type | only rank } message
2222
| each {|e|
2323
let color = $types | where type == $e.type | only color
24-
print $"($color)PRs with ($e.message):"
24+
let number = $e.items | length
25+
print $"($color)($number) PR\(s\) with ($e.message):"
2526
$e.items | each { format-pr | print $"- ($in)" }
2627
print ""
2728
}

0 commit comments

Comments
 (0)