Skip to content

Commit 64c7a0e

Browse files
authored
Only expose permission_denials count in sanitized output (#993)
1 parent 220272d commit 64c7a0e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base-action/src/run-claude-sdk.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ function sanitizeSdkOutput(
119119
duration_ms: resultMsg.duration_ms,
120120
num_turns: resultMsg.num_turns,
121121
total_cost_usd: resultMsg.total_cost_usd,
122-
permission_denials: resultMsg.permission_denials,
122+
permission_denials_count: resultMsg.permission_denials?.length ?? 0,
123123
},
124124
null,
125125
2,

0 commit comments

Comments
 (0)