igbopie/spherov2.js

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

Summary

Maintainability
A
1 hr
Test Coverage
C
79%

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/src/commands/encoder.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status