tprobinson/node-simple-dockerode

View on GitHub
lib/processExec.js

Summary

Maintainability
A
2 hrs
Test Coverage

Function processExec has 67 lines of code (exceeds 25 allowed). Consider refactoring.
Open

function processExec(opts, createOpts, execOpts, callback) {
    this.execRaw(createOpts, (createErr, exec) => {
        if( createErr ) { callback(createErr); return }
        exec.start(execOpts, (execErr, stream) => {
            if( execErr ) { callback(execErr); return }
Severity: Major
Found in lib/processExec.js - About 2 hrs to fix

    There are no issues that match your filters.

    Category
    Status