Changed from nested object format to array format to fix "PreToolUse:Bash hook error" with no message. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
17 lines
334 B
JSON
17 lines
334 B
JSON
{
|
|
"hooks": [
|
|
{
|
|
"event": "PreToolUse",
|
|
"matcher": "Bash",
|
|
"type": "command",
|
|
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/branch-check.sh"
|
|
},
|
|
{
|
|
"event": "PreToolUse",
|
|
"matcher": "Bash",
|
|
"type": "command",
|
|
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/commit-msg-check.sh"
|
|
}
|
|
]
|
|
}
|