Fixed RSS feed for release notes

This commit is contained in:
mr. m 🤙 2024-12-19 23:45:15 +00:00
parent 1284aef891
commit 1885a243b4

View file

@ -112,6 +112,10 @@ function addReleaseNoteSection(title: string, items?: string[]): string {
}
function fixToReleaseNote(fix?: Exclude<ReleaseNote['fixes'], undefined>[number]) {
if (typeof fix === 'string') {
return fix;
}
if (!fix || !fix.description || fix.description.length === 0) {
return "";
}