Showing 1 of 1 total issue
Function runCommand
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
runCommand( command, args = [], jsonOutput = false ){
return new Promise((resolve, reject) => {
debug('args', lodash.flatten([ command, args, this.file ]))
const proc = spawn( this.bin, lodash.flatten([ command, args, this.file ]) )
let data = ''