gabrielbull/react-router-server

View on GitHub
src/utils/validateStats.js

Summary

Maintainability
A
1 hr
Test Coverage

Consider simplifying this complex logical expression.
Open

  if (
    (typeof stats === 'undefined' || !stats) ||
    (!stats.modules || Object.prototype.toString.call(stats.modules) !== '[object Array]') ||
    (!stats.chunks || Object.prototype.toString.call(stats.chunks) !== '[object Array]') ||
    (!stats.entrypoints || typeof stats.entrypoints !== 'object')
Severity: Critical
Found in src/utils/validateStats.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status