evandcoleman/node-appletv

View on GitHub
src/bin/pair.ts

Summary

Maintainability
A
1 hr
Test Coverage

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

export function pair(device: AppleTV, logger: Logger): Promise<AppleTV> {
  let spinner = ora("Connecting to " + device.name).start()
  return device
    .openConnection()
    .then(() => {
Severity: Minor
Found in src/bin/pair.ts - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status