Aam-Digital/ndb-core

View on GitHub
src/app/core/ui/latest-changes/update-manager.service.ts

Summary

Maintainability
A
1 hr
Test Coverage
B
88%

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

  private updateIfPossible() {
    const currentVersion =
      localStorage.getItem(LatestChangesDialogService.VERSION_KEY) || "";
    if (currentVersion.startsWith(this.UPDATE_PREFIX)) {
      // Sometimes this is triggered multiple times for one update
Severity: Minor
Found in src/app/core/ui/latest-changes/update-manager.service.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status