(entry: ChangelogEntry)
| 67 | let detailsContent: string[] = []; |
| 68 | |
| 69 | const addEntry = (entry: ChangelogEntry): void => { |
| 70 | if (entry.prNumber) { |
| 71 | changelogPRs.add(entry.prNumber); |
| 72 | } |
| 73 | |
| 74 | if (entry.type === 'important') { |
| 75 | importantChanges.push(entry); |
| 76 | } else if (entry.type === 'internal') { |
| 77 | internalChanges.push(entry); |
| 78 | } else { |
| 79 | otherChanges.push(entry); |
| 80 | } |
| 81 | }; |
| 82 | |
| 83 | const flushCurrentEntry = (): void => { |
| 84 | if (currentEntry.length === 0 || !currentType) return; |
no test coverage detected