mirror of
https://github.com/Koenkk/zigbee2mqtt.git
synced 2026-10-23 14:22:38 +00:00
chore: fix changelog generator
This commit is contained in:
1 parent
2d5bb2462e
commit
93af087264
1 file changed
+1
-1
@@ -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] :
|
||||
|
||||
Reference in new issue
Block a user