fix(git-flow): use array format for hooks.json #300

Merged
lmiranda merged 1 commits from fix/git-flow-hooks-format into development 2026-01-29 02:25:49 +00:00

View File

@@ -1,19 +1,16 @@
{ {
"hooks": {
"PreToolUse": [
{
"matcher": "Bash",
"hooks": [ "hooks": [
{ {
"event": "PreToolUse",
"matcher": "Bash",
"type": "command", "type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/branch-check.sh" "command": "${CLAUDE_PLUGIN_ROOT}/hooks/branch-check.sh"
}, },
{ {
"event": "PreToolUse",
"matcher": "Bash",
"type": "command", "type": "command",
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/commit-msg-check.sh" "command": "${CLAUDE_PLUGIN_ROOT}/hooks/commit-msg-check.sh"
} }
] ]
}
]
}
} }