We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 540bf4d + b043a27 commit 71e31f6Copy full SHA for 71e31f6
1 file changed
scripts/generate-decorator-registries.ts
@@ -393,11 +393,7 @@ const main = (): void => {
393
DECORATORS.forEach(decoratorConfig => {
394
registriesToDelete.delete(getDecoratorFileName(decoratorConfig.name));
395
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
- }
+ writeRegistryFile(decoratorConfig, componentsForDecorator);
401
});
402
403
registriesToDelete.forEach((fileName: string) => rmSync(join(REGISTRY_OUTPUT_DIR, fileName)));
0 commit comments