cloudfoundry/stratos

View on GitHub
src/frontend/packages/devkit/src/build/extensions.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function apply has 37 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  public apply(webpackConfig: any, config: StratosConfig, options: any) {

    // Generate the module file to import the appropriate extensions
    const dir = path.join(config.rootDir, path.dirname(options.main));
    const overrideFile = path.resolve(path.join(dir, './_custom-import.module.ts'));
Severity: Minor
Found in src/frontend/packages/devkit/src/build/extensions.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status