GladysProject/Gladys

View on GitHub
server/lib/device/device.destroy.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function destroy has 72 lines of code (exceeds 25 allowed). Consider refactoring.
Open

async function destroy(selector) {
  const device = await db.Device.findOne({
    include: [
      {
        model: db.DeviceFeature,
Severity: Major
Found in server/lib/device/device.destroy.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status