GladysProject/Gladys

View on GitHub
server/lib/house/house.disarm.js

Summary

Maintainability
A
1 hr
Test Coverage

Function disarm has 29 lines of code (exceeds 25 allowed). Consider refactoring.
Open

async function disarm(selector) {
  // In case there is a timeout to arm this house, we clear it
  clearTimeout(this.armingHouseTimeout.get(selector));
  if (this.armingHouseTimeout.get(selector)) {
    this.armingHouseTimeout.delete(selector);
Severity: Minor
Found in server/lib/house/house.disarm.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status