Skip to content

Commit c616945

Browse files
committed
Revert "fix: use original moduleName"
This reverts commit 676e49e.
1 parent 8474644 commit c616945

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

modules/code-generator/src/parser/SchemaParser.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -161,7 +161,7 @@ export class SchemaParser implements ISchemaParser {
161161
...subRoot,
162162
componentName: getRootComponentName(subRoot.componentName, compDeps),
163163
containerType: subRoot.componentName,
164-
moduleName: subRoot.fileName,
164+
moduleName: ensureValidClassName(changeCase.pascalCase(subRoot.fileName)),
165165
};
166166
return container;
167167
});

0 commit comments

Comments
 (0)