ahbeng/NUSMods

View on GitHub
website/src/entry/main.tsx

Summary

Maintainability
A
40 mins
Test Coverage

Consider simplifying this complex logical expression.
Open

if (
  ((NUSMODS_ENV === 'preview' || NUSMODS_ENV === 'staging' || NUSMODS_ENV === 'production') &&
    'serviceWorker' in navigator &&
    window.location.protocol === 'https:') ||
  // Allow us to force service worker to be enabled for debugging
Severity: Major
Found in website/src/entry/main.tsx - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status