gerard2p/koaton-cli

View on GitHub
src/utils/shell.js

Summary

Maintainability
A
1 hr
Test Coverage

Function shell has 39 lines of code (exceeds 25 allowed). Consider refactoring.
Open

export default function shell (display, command, cwd = process.cwd()) {
    return new Promise(function (resolve) {
        let shelllog = '';
        if (skipshell) {
            console.log(`+ ${display}\t${__ok}`.green);
Severity: Minor
Found in src/utils/shell.js - About 1 hr to fix

    There are no issues that match your filters.

    Category
    Status