Skip to content

Commit

Permalink
fix: correct spelling of "0 files"
Browse files Browse the repository at this point in the history
  • Loading branch information
iiroj committed Jun 8, 2022
1 parent f2c6bdd commit f27f1d4
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion lib/runAll.js
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit f27f1d4

Please sign in to comment.