Function
renderAlsoNotable
(
commits: WeeklyCommit[],
renderBullet: (commit: WeeklyCommit) => string,
)
Source from the content-addressed store, hash-verified
| 384 | } |
| 385 | |
| 386 | function renderAlsoNotable( |
| 387 | commits: WeeklyCommit[], |
| 388 | renderBullet: (commit: WeeklyCommit) => string, |
| 389 | ) { |
| 390 | if (commits.length === 0) { |
| 391 | return "## Also notable\n\n- TODO: add any supporting changes worth mentioning."; |
| 392 | } |
| 393 | |
| 394 | return ["## Also notable", "", commits.map(renderBullet).join("\n")].join("\n"); |
| 395 | } |
| 396 | |
| 397 | function renderGroupedChanges( |
| 398 | commits: WeeklyCommit[], |
Tested by
no test coverage detected