willpower232/TOTPBTF3

View on GitHub
resources/assets/js/sw.js

Summary

Maintainability
A
40 mins
Test Coverage

Consider simplifying this complex logical expression.
Open

                                if (response.status < 400 &&
                                    ev.request.url.match(location.hostname) &&
                                    response.headers.has('Content-Type') &&
                                    (
                                        response.headers.get('Content-Type').match(/^image\//i) ||
Severity: Major
Found in resources/assets/js/sw.js - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status