ahbeng/NUSMods

View on GitHub
website/src/bootstrapping/service-worker-manager.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function registerServiceWorker has 28 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function registerServiceWorker(store: Store<any, any>) {
  const { serviceWorker } = navigator;
  if (!serviceWorker) {
    return;
  }
Severity: Minor
Found in website/src/bootstrapping/service-worker-manager.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status