Skip to content

Commit

Permalink
fix: use original moduleName
Browse files Browse the repository at this point in the history
LeoYuan committed Mar 2, 2023
1 parent a2d857b commit 676e49e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/code-generator/src/parser/SchemaParser.ts
Original file line number Diff line number Diff line change
@@ -161,7 +161,7 @@ export class SchemaParser implements ISchemaParser {
...subRoot,
componentName: getRootComponentName(subRoot.componentName, compDeps),
containerType: subRoot.componentName,
moduleName: ensureValidClassName(changeCase.pascalCase(subRoot.fileName)),
moduleName: subRoot.fileName,
};
return container;
});

0 comments on commit 676e49e

Please sign in to comment.