Skip to content

Commit 971d83e

Browse files
committed
style(examples): reformat security-agent.ts continuation lines (IDE formatter)
1 parent 17375bb commit 971d83e

1 file changed

Lines changed: 9 additions & 9 deletions

File tree

examples/security-agent.ts

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -117,15 +117,15 @@ console.log(`\n${"─".repeat(70)}`);
117117
console.log(`Done in ${elapsed}s • ${toolCalls} tool calls • status: ${endedReason}`);
118118
console.log(
119119
`Usage: ${usage.inputTokens.toLocaleString()} in + ${usage.outputTokens.toLocaleString()} out` +
120-
(usage.cacheReadInputTokens > 0
121-
? ` (cache read: ${usage.cacheReadInputTokens.toLocaleString()})`
122-
: "") +
123-
(usage.cacheCreationInputTokens > 0
124-
? ` (cache write: ${usage.cacheCreationInputTokens.toLocaleString()})`
125-
: "") +
126-
` = ${totalTokens.toLocaleString()} tokens` +
127-
(usage.costUsd !== undefined ? ` • $${usage.costUsd.toFixed(4)}` : "") +
128-
"\n",
120+
(usage.cacheReadInputTokens > 0
121+
? ` (cache read: ${usage.cacheReadInputTokens.toLocaleString()})`
122+
: "") +
123+
(usage.cacheCreationInputTokens > 0
124+
? ` (cache write: ${usage.cacheCreationInputTokens.toLocaleString()})`
125+
: "") +
126+
` = ${totalTokens.toLocaleString()} tokens` +
127+
(usage.costUsd !== undefined ? ` • $${usage.costUsd.toFixed(4)}` : "") +
128+
"\n",
129129
);
130130

131131
// Pull SECURITY_REVIEW.md from the workdir.

0 commit comments

Comments
 (0)