cloudfoundry/stratos

View on GitHub
src/frontend/packages/store/src/helpers/local-storage-service.ts

Summary

Maintainability
A
0 mins
Test Coverage

Function storeToLocalStorageSyncReducer has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Wontfix

  public static storeToLocalStorageSyncReducer(reducer: ActionReducer<any>): ActionReducer<any> {
    // This is done to ensure we don't accidentally apply state from session storage from another user.
    let globalUserId = null;
    return localStorageSync({
      // Decide the key to store each section by
Severity: Minor
Found in src/frontend/packages/store/src/helpers/local-storage-service.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status