stackdot/sketch-tool

View on GitHub
app/index.js

Summary

Maintainability
A
1 hr
Test Coverage

Function runCommand has 31 lines of code (exceeds 25 allowed). Consider refactoring.
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 = ''
Severity: Minor
Found in app/index.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status