Skip to content

Commit f2c9ca3

Browse files
committed
Fix an issue where this was sometimes reported incorrectly: "The messages.extractorMessageReporting table contains an unrecognized identifier ___"
1 parent 5113edf commit f2c9ca3

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

‎apps/api-extractor/src/collector/MessageRouter.ts‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ export class MessageRouter {
8888
} else if (!/^ae-/.test(messageId)) {
8989
throw new Error(`Error in API Extractor config: The messages.extractorMessageReporting table contains`
9090
+ ` an invalid entry "${messageId}". The name should begin with the "ae-" prefix.`);
91-
} else if (allExtractorMessageIds.has(messageId)) {
91+
} else if (!allExtractorMessageIds.has(messageId)) {
9292
throw new Error(`Error in API Extractor config: The messages.extractorMessageReporting table contains`
9393
+ ` an unrecognized identifier "${messageId}". Is it spelled correctly?`);
9494
} else {

0 commit comments

Comments
 (0)