GladysProject/Gladys

View on GitHub
server/lib/device/light/light.init.js

Summary

Maintainability
A
1 hr
Test Coverage

Function init has 27 lines of code (exceeds 25 allowed). Consider refactoring.
Open

async function init() {
  const lights = await db.Device.findAll({
    include: [
      {
        model: db.DeviceFeature,
Severity: Minor
Found in server/lib/device/light/light.init.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status