Skip to content

Commit

Permalink
Do not swallow already detected deprecated usage by last task
Browse files Browse the repository at this point in the history
  • Loading branch information
bobisjan committed Jul 13, 2021
1 parent 4f9a146 commit 4aed52c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/runAll.js
Expand Up @@ -147,7 +147,8 @@ const runAll = async (
matchedFiles.add(file)
})

hasDeprecatedGitAdd = subTasks.some((subTask) => subTask.command === 'git add')
hasDeprecatedGitAdd =
hasDeprecatedGitAdd || subTasks.some((subTask) => subTask.command === 'git add')

chunkListrTasks.push({
title: `Running tasks for ${task.pattern}`,
Expand Down

0 comments on commit 4aed52c

Please sign in to comment.