mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 02:34:00 +00:00
default unknown keys to rscadd (#8543)
This commit is contained in:
@@ -33,7 +33,7 @@ export const CHANGELOG_ENTRIES = [
|
|||||||
],
|
],
|
||||||
|
|
||||||
[
|
[
|
||||||
["qol"],
|
["qol", "tweak"],
|
||||||
{
|
{
|
||||||
placeholders: ["made something easier to use"],
|
placeholders: ["made something easier to use"],
|
||||||
},
|
},
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ function parseChangelogBody(lines, openTag) {
|
|||||||
if (match) {
|
if (match) {
|
||||||
const [_, type, description] = match;
|
const [_, type, description] = match;
|
||||||
|
|
||||||
const entry = CHANGELOG_KEYS_TO_ENTRY[type];
|
const entry = CHANGELOG_KEYS_TO_ENTRY[type] || CHANGELOG_KEYS_TO_ENTRY["rscadd"];
|
||||||
|
|
||||||
if (entry.placeholders.includes(description)) {
|
if (entry.placeholders.includes(description)) {
|
||||||
continue;
|
continue;
|
||||||
|
|||||||
Reference in New Issue
Block a user