lib/util/grunt.js
Function runTasks
has 55 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
exports.runTasks = function(projectFolder, modulePath) {
return new Promise(function(resolve, reject) {
var originalCwd = process.cwd();
process.chdir(projectFolder);
Function runTask
has 37 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function runTask(projectFolder, command) {
var args = [].slice.call(arguments, 1);
return new Promise(function(resolve, reject) {
var cmd = !isWin ? 'grunt' : 'grunt.cmd'
Function runDBMigrations
has 31 lines of code (exceeds 25 allowed). Consider refactoring. Open
Open
function runDBMigrations(projectFolder) {
lib.utils.warn('Running database migrations...');
return new Promise(function(resolve, reject) {
var env = process.env