src/utils/shell.js
Function shell
has 39 lines of code (exceeds 25 allowed). Consider refactoring. Open
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);