src/frontend/packages/devkit/src/schematics/theme/index.ts
Function default
has 44 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export default function (options: ThemeOptionsSchema): Rule {
return async (host: Tree, context: SchematicContext) => {
if (!options.name) {
throw new SchematicsException(`Invalid options, "name" is required.`);
}