Skip to content

Commit

Permalink
chore: fix changelog generator
Browse files Browse the repository at this point in the history
  • Loading branch information
Koenkk committed Nov 6, 2023
1 parent 2d5bb24 commit 93af087
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/generateChangelog.js
Original file line number Diff line number Diff line change
Expand Up @@ -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] :
Expand Down

0 comments on commit 93af087

Please sign in to comment.