src/remote/index.js
Function startRemote
has 47 lines of code (exceeds 25 allowed). Consider refactoring. Open
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);