INTO-CPS-Association/DTaaS

View on GitHub
client/src/preview/store/libraryConfigFiles.slice.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function addOrUpdateLibraryFile has 26 lines of code (exceeds 25 allowed). Consider refactoring.
Open

    addOrUpdateLibraryFile: (
      state,
      action: PayloadAction<LibraryConfigFile>,
    ) => {
      const { fileName, assetPath, isNew, isPrivate, ...rest } = action.payload;
Severity: Minor
Found in client/src/preview/store/libraryConfigFiles.slice.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status