mirror of
https://github.com/zen-browser/www.git
synced 2025-07-10 18:25:31 +02:00
Fixed RSS feed for release notes
This commit is contained in:
parent
1284aef891
commit
1885a243b4
1 changed files with 4 additions and 0 deletions
|
@ -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 "";
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue