Skip to content

Commit

Permalink
Remove brackets
Browse files Browse the repository at this point in the history
  • Loading branch information
Enngage committed Dec 12, 2024
1 parent 222c033 commit 9e0d1d6
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions lib/core/utils/processing-utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -83,13 +83,13 @@ export async function processItemsAsync<InputItem, OutputItem>(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;
Expand Down

0 comments on commit 9e0d1d6

Please sign in to comment.