cloudfoundry/stratos

View on GitHub
src/frontend/packages/devkit/src/schematics/theme/index.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function default has 44 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function (options: ThemeOptionsSchema): Rule {
  return async (host: Tree, context: SchematicContext) => {
    if (!options.name) {
      throw new SchematicsException(`Invalid options, "name" is required.`);
    }
Severity: Minor
Found in src/frontend/packages/devkit/src/schematics/theme/index.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status