mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Changelog Workflow Update Mirror (#10197)
This commit is contained in:
@@ -42,7 +42,7 @@ function parseChangelogBody(lines, openTag) {
|
||||
|
||||
const entry = CHANGELOG_KEYS_TO_ENTRY[type] || CHANGELOG_KEYS_TO_ENTRY["rscadd"];
|
||||
|
||||
if (entry.placeholders.includes(description)) {
|
||||
if (!entry || entry.placeholders.includes(description)) {
|
||||
continue;
|
||||
}
|
||||
|
||||
@@ -64,6 +64,9 @@ function parseChangelogBody(lines, openTag) {
|
||||
}
|
||||
|
||||
export function parseChangelog(text) {
|
||||
if(text == null) {
|
||||
return undefined;
|
||||
}
|
||||
const lines = text.split("\n").map((line) => line.trim());
|
||||
|
||||
for (let index = 0; index < lines.length; index++) {
|
||||
|
||||
Reference in New Issue
Block a user