jshmrtn/generator-jm-vuejs

View on GitHub
generators/app/templates/src/sw.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function resource has 50 lines of code (exceeds 25 allowed). Consider refactoring.
Open

  const resource = global.caches.match(request).then(response => {
    if (response) {
      if (DEBUG) {
        console.log(`[SW] fetch URL ${requestUrl.href} from cache`);
      }
Severity: Minor
Found in generators/app/templates/src/sw.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status