From 9e0d1d6ef8058f921d84bac04943b7240532f740 Mon Sep 17 00:00:00 2001 From: Richard Sustek Date: Thu, 12 Dec 2024 09:14:44 +0100 Subject: [PATCH] Remove brackets --- lib/core/utils/processing-utils.ts | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/core/utils/processing-utils.ts b/lib/core/utils/processing-utils.ts index a6fda3a..ecace50 100644 --- a/lib/core/utils/processing-utils.ts +++ b/lib/core/utils/processing-utils.ts @@ -83,13 +83,13 @@ export async function processItemsAsync(data: { const resultItems = await Promise.all(requests); const failedItemsCount = resultItems.filter((m) => m.state === 'error').length; - const failedText = failedItemsCount ? ` Failed (${chalk.red(failedItemsCount)}) items` : ``; + const failedText = failedItemsCount ? ` Failed '${chalk.red(failedItemsCount)}' items` : ``; logSpinner({ type: 'info', - message: `Completed '${chalk.yellow(data.action)}'. Successfully processed (${chalk.green( + message: `Completed '${chalk.yellow(data.action)}'. Successfully processed '${chalk.green( resultItems.filter((m) => m.state === 'valid').length - )}) items.${failedText}` + )}' items.${failedText}` }); return resultItems;