appnexus/sicksync

View on GitHub
src/remote/index.js

Summary

Maintainability
A
1 hr
Test Coverage

Function startRemote has 47 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export function startRemote(opts) {
  if (!_.isNumber(opts.port)) return console.info(text.REMOTE_MISSING_PORT);
  if (!_.isString(opts.secret)) return console.info(text.REMOTE_MISSING_SECRET);

  const log = _.partial(console.info.bind(console), opts.secret);
Severity: Minor
Found in src/remote/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status