Easybuoy/storemanager

View on GitHub
server/validation/isEmpty.js

Summary

Maintainability
A
40 mins
Test Coverage

Consider simplifying this complex logical expression.
Open

  if (value === undefined || value === null || (typeof value === 'object' && Object.keys(value).length === 0) || (typeof value === 'string' && value.trim().length === 0)) {
    return true;
  }
Severity: Major
Found in server/validation/isEmpty.js - About 40 mins to fix

    There are no issues that match your filters.

    Category
    Status