diff --git a/plugins/git-flow/hooks/hooks.json b/plugins/git-flow/hooks/hooks.json index 7860e41..81c4f4b 100644 --- a/plugins/git-flow/hooks/hooks.json +++ b/plugins/git-flow/hooks/hooks.json @@ -1,19 +1,16 @@ { - "hooks": { - "PreToolUse": [ - { - "matcher": "Bash", - "hooks": [ - { - "type": "command", - "command": "${CLAUDE_PLUGIN_ROOT}/hooks/branch-check.sh" - }, - { - "type": "command", - "command": "${CLAUDE_PLUGIN_ROOT}/hooks/commit-msg-check.sh" - } - ] - } - ] - } + "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" + } + ] }