cloudfoundry/stratos

View on GitHub
src/frontend/packages/cloud-foundry/src/store/reducers/create-application.reducer.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function createAppReducer has 36 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function createAppReducer(state: CreateNewApplicationState = defaultState, action) {
  switch (action.type) {
    case SET_CF_DETAILS:
      return {
        ...state, cloudFoundryDetails: action.cloudFoundryDetails

    There are no issues that match your filters.

    Category
    Status