Skip to content

Commit

Permalink
gen-changelog: Fix error introduced in #3872 (#3879)
Browse files Browse the repository at this point in the history
  • Loading branch information
IvanGoncharov authored Apr 6, 2023
1 parent fab6426 commit 418a0c8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion resources/gen-changelog.ts
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ async function genChangeLog(): Promise<string> {
}

const label = labels[0];
if (labelsConfig[label] != null) {
if (labelsConfig[label] == null) {
throw new Error(`Unknown label: ${label}. See ${pr.url}`);
}
byLabel[label] ??= [];
Expand Down

0 comments on commit 418a0c8

Please sign in to comment.