cloudfoundry/stratos

View on GitHub
src/frontend/packages/store/src/reducers/uaa-setup.reducers.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function uaaSetupReducer has 30 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function uaaSetupReducer(state: UAASetupState = defaultState, action) {
  switch (action.type) {
    case SETUP_GET_SCOPES:
    case SETUP_SAVE_CONFIG:
      return {
Severity: Minor
Found in src/frontend/packages/store/src/reducers/uaa-setup.reducers.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status