Skip to content

Commit 71e31f6

Browse files
committed
Merge branch 'restore-decorator-support_contribute-9.0' into restore-decorator-support_contribute-main
2 parents 540bf4d + b043a27 commit 71e31f6

1 file changed

Lines changed: 1 addition & 5 deletions

File tree

scripts/generate-decorator-registries.ts

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -393,11 +393,7 @@ const main = (): void => {
393393
DECORATORS.forEach(decoratorConfig => {
394394
registriesToDelete.delete(getDecoratorFileName(decoratorConfig.name));
395395
const componentsForDecorator = decoratorMap.get(decoratorConfig.name);
396-
if (componentsForDecorator && componentsForDecorator.length > 0) {
397-
writeRegistryFile(decoratorConfig, componentsForDecorator);
398-
} else {
399-
console.warn(`No components found for decorator '${decoratorConfig.name}'`);
400-
}
396+
writeRegistryFile(decoratorConfig, componentsForDecorator);
401397
});
402398

403399
registriesToDelete.forEach((fileName: string) => rmSync(join(REGISTRY_OUTPUT_DIR, fileName)));

0 commit comments

Comments
 (0)