style: format after gate

This commit is contained in:
Peter Steinberger
2026-01-09 05:27:54 +00:00
parent 482364aa92
commit 8e35ad5484
8 changed files with 43 additions and 27 deletions

View File

@@ -329,7 +329,9 @@ export function buildStatusMessage(args: StatusArgs): string {
const usagePair = formatUsagePair(inputTokens, outputTokens);
const costLine = costLabel ? `💵 Cost: ${costLabel}` : null;
const usageCostLine =
usagePair && costLine ? `${usagePair} · ${costLine}` : usagePair ?? costLine;
usagePair && costLine
? `${usagePair} · ${costLine}`
: (usagePair ?? costLine);
return [
versionLine,