fix(vscode): remove dead guard in collapseCostBreakdown

This commit is contained in:
Mark IJbema
2026-04-13 10:51:59 +02:00
parent 097211d544
commit 22e009c46f
@@ -164,7 +164,6 @@ export function collapseCostBreakdown(
items: Array<{ label: string; cost: number }>,
summaryLabel: (count: number) => string,
): Array<{ label: string; cost: number }> {
if (items.length <= 1) return items
const root = items[0]
const children = items.slice(1)
const reversed = [...children].reverse()