src/frontend/packages/cloud-foundry/src/store/reducers/create-service-instance.reducer.ts
Function createServiceInstanceReducer
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
export function createServiceInstanceReducer(state: CreateServiceInstanceState = defaultState, action): CreateServiceInstanceState {
switch (action.type) {
case SET_SERVICE_PLAN:
return { ...state, servicePlanGuid: action.servicePlanGuid };
case SET_ORG: