Skip to content

Commit 418a0c8

Browse files
gen-changelog: Fix error introduced in #3872 (#3879)
1 parent fab6426 commit 418a0c8

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

resources/gen-changelog.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ async function genChangeLog(): Promise<string> {
8888
}
8989

9090
const label = labels[0];
91-
if (labelsConfig[label] != null) {
91+
if (labelsConfig[label] == null) {
9292
throw new Error(`Unknown label: ${label}. See ${pr.url}`);
9393
}
9494
byLabel[label] ??= [];

0 commit comments

Comments
 (0)