chore: fix changelog generator

This commit is contained in:
koenkk
2023-11-06 20:58:45 +01:00
parent 2d5bb2462e
commit 93af087264
+1 -1
View File
@@ -49,7 +49,7 @@ for (const changelog of changelogs) {
continue;
} else if (changeMatch) {
let localContext = changeMatch[2] ? changeMatch[2] : context;
if (!changes[localContext]) throw new Error(`Unknown context: ${localContext}`);
if (!changes[localContext]) localContext = 'error';
const commitUserKey = `${changelog.project}-${changeMatch[5]} `;
let user = commitUserKey in commitUserLookup ? commitUserLookup[commitUserKey] :