GladysProject/Gladys

View on GitHub
server/services/google-actions/lib/smarthome/googleActions.onExecute.js

Summary

Maintainability
A
1 hr
Test Coverage

Function onExecute has 48 lines of code (exceeds 25 allowed). Consider refactoring.
Open

async function onExecute(body) {
  const commands = [];

  const inputCommands = body.inputs
    .filter((input) => input.payload)

    There are no issues that match your filters.

    Category
    Status