Skip to content

Commit f27f1d4

Browse files
committedJun 8, 2022
fix: correct spelling of "0 files"
1 parent f2c6bdd commit f27f1d4

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed
 

‎lib/runAll.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,9 @@ export const runAll = async (
203203
const fileCount = task.fileList.length
204204

205205
return {
206-
title: `${task.pattern}${dim(` — ${fileCount} ${fileCount > 1 ? 'files' : 'file'}`)}`,
206+
title: `${task.pattern}${dim(
207+
` — ${fileCount} ${fileCount === 1 ? 'file' : 'files'}`
208+
)}`,
207209
task: async () =>
208210
new Listr(subTasks, {
209211
// In sub-tasks we don't want to run concurrently

0 commit comments

Comments
 (0)
Please sign in to comment.