diff --git a/lib/runAll.js b/lib/runAll.js index 63b68a159..b1e28457e 100644 --- a/lib/runAll.js +++ b/lib/runAll.js @@ -203,7 +203,9 @@ export const runAll = async ( const fileCount = task.fileList.length return { - title: `${task.pattern}${dim(` — ${fileCount} ${fileCount > 1 ? 'files' : 'file'}`)}`, + title: `${task.pattern}${dim( + ` — ${fileCount} ${fileCount === 1 ? 'file' : 'files'}` + )}`, task: async () => new Listr(subTasks, { // In sub-tasks we don't want to run concurrently