Skip to content

Commit

Permalink
fix: sonarcloud review
Browse files Browse the repository at this point in the history
  • Loading branch information
Jujulego committed Nov 25, 2023
1 parent def0baa commit 44a5120
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/ui/task-tree-stats.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -58,11 +58,11 @@ export default function TaskTreeStats({ manager }: TaskTreeStatsProps) {
) }
{ (stats.running !== 0 && stats.done !== 0) && (<>, </>) }
{ (stats.done !== 0) && (
<><Text color="green">{ symbols.success } { stats.done } done</Text></>
<Text color="green">{ symbols.success } { stats.done } done</Text>
) }
{ (stats.running + stats.done !== 0 && stats.failed !== 0) && (<>, </>) }
{ (stats.failed !== 0) && (
<><Text color="red">{ symbols.error } { stats.failed } failed</Text></>
<Text color="red">{ symbols.error } { stats.failed } failed</Text>
) }
</Text>
);
Expand Down

0 comments on commit 44a5120

Please sign in to comment.