LiberTEM/LiberTEM

View on GitHub
client/src/browser/reducers.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function directoryBrowserReducer has 43 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export const directoryBrowserReducer = (state: DirectoryBrowserState = initialBrowserState, action: AllActions): DirectoryBrowserState => {
    switch (action.type) {
        case configActions.ActionTypes.FETCHED: {
            return Object.assign({}, state, {
                path: action.payload.config.cwd,
Severity: Minor
Found in client/src/browser/reducers.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status