Skip to content

Commit 08acac3

Browse files
committed
fix(platforms): remove change in unused function
1 parent f255274 commit 08acac3

1 file changed

Lines changed: 2 additions & 7 deletions

File tree

‎src/platforms.py‎

Lines changed: 2 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -46,14 +46,9 @@ def get_tool_output(input_data: dict, platform: Platform) -> str | None:
4646
return None
4747

4848

49-
def format_pretool_rewrite(new_command: str, permission_decision: str = "allow") -> dict:
49+
def format_pretool_rewrite(new_command: str) -> dict:
5050
"""Format a PreToolUse response that rewrites the command (Claude Code)."""
51-
return {
52-
"hookSpecificOutput": {
53-
"permissionDecision": permission_decision,
54-
"updatedInput": {"command": new_command},
55-
}
56-
}
51+
return {"hookSpecificOutput": {"updatedInput": {"command": new_command}}}
5752

5853

5954
def format_aftertool_deny(compressed_output: str) -> dict:

0 commit comments

Comments
 (0)