Skip to content

Commit d4b1593

Browse files
committed
lint
1 parent 69ce274 commit d4b1593

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

apps/sim/lib/billing/core/usage-log.ts

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,10 @@ export async function recordUsage(params: RecordUsageParams): Promise<void> {
8989
const totalCost = validEntries.reduce((sum, e) => sum + e.cost, 0)
9090

9191
// Nothing to write: no cost entries and no counter increments
92-
if (validEntries.length === 0 && (!additionalStats || Object.keys(additionalStats).length === 0)) {
92+
if (
93+
validEntries.length === 0 &&
94+
(!additionalStats || Object.keys(additionalStats).length === 0)
95+
) {
9396
return
9497
}
9598

0 commit comments

Comments
 (0)