diff --git a/lib/runAll.js b/lib/runAll.js index 3ace6898e..ef6ca672d 100644 --- a/lib/runAll.js +++ b/lib/runAll.js @@ -137,9 +137,7 @@ const runAll = async ( shell }) - if (subTasks.some(subTask => subTask.command === 'git add')) { - hasDeprecatedGitAdd = true - } + hasDeprecatedGitAdd = subTasks.some(subTask => subTask.command === 'git add') chunkListrTasks.push({ title: `Running tasks for ${task.pattern}`,