GladysProject/Gladys

View on GitHub
server/lib/room/room.get.js

Summary

Maintainability
A
1 hr
Test Coverage

Function get has 32 lines of code (exceeds 25 allowed). Consider refactoring.
Open

async function get(options) {
  const optionsWithDefault = { ...DEFAULT_OPTIONS, ...options };
  const include = [];
  if (optionsWithDefault.expand.includes('devices')) {
    include.push({
Severity: Minor
Found in server/lib/room/room.get.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status