[WIP] Release agent tooling#2176
Conversation
07920ac to
7f00790
Compare
| const unreleased = changelog.changelog.content[0]; | ||
| return unreleased.sections.flatMap(section => | ||
| section.logs.map(log => ({ | ||
| type: section.type, | ||
| description: log | ||
| })) | ||
| ); |
There was a problem hiding this comment.
If a changelog has no entries at all, content[0] is undefined and this throws. Should guard: if (!unreleased) return []
| } | ||
|
|
||
| interface ChangelogEntry { | ||
| type: "Fixed" | "Added" | "Changed" | "Removed" | "Breaking changes"; |
There was a problem hiding this comment.
Here you mention the breaking changes type, but the release-candidates.ts file does not have it https://github.com/mendix/web-widgets/pull/2176/changes#diff-455469ccfc1eb8c253d3958fc6b9424447d549592886eb89d125c08ff6cf60e6R14
7f00790 to
9e7554d
Compare
AI Code Review
What was reviewed
Skipped (out of scope): Findings🔶 Medium —
|
No description provided.