cloudfoundry-incubator/stratos

View on GitHub
src/frontend/packages/store/src/reducers/api-request-reducer/fail-request.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function failRequest has 31 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function failRequest(state, action: IFailedRequestAction) {
  if (isNullOrUndefined(action.apiAction.guid)) {
    return state;
  }
  const apiAction = action.apiAction as BaseEntityRequestAction;

    There are no issues that match your filters.

    Category
    Status