OpenHPS/openhps-sphero

View on GitHub
lib/web/src/commands/encoder.ts

Summary

Maintainability
A
1 hr
Test Coverage

Function encode has 38 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function encode(command: ICommand): ICommandWithRaw {
  const {
    commandFlags = [Flags.requestsResponse, Flags.resetsInactivityTimeout],
    deviceId,
    commandId,
Severity: Minor
Found in lib/web/src/commands/encoder.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status