Merge pull request #318 from flyingnobita/fix/gemini-claude-polyglot-hooks

fix: make hooks.json polyglot for Gemini CLI and Claude Code compatibility
This commit is contained in:
Trevin Chow
2026-05-17 01:05:30 -07:00
committed by GitHub
+1 -2
View File
@@ -6,8 +6,7 @@
"hooks": [ "hooks": [
{ {
"type": "command", "type": "command",
"command": "bash \"${CLAUDE_PLUGIN_ROOT}/hooks/scripts/check-config.sh\"", "command": "bash \"${CLAUDE_PLUGIN_ROOT:-${extensionPath:-.}}/hooks/scripts/check-config.sh\""
"timeout": 5
} }
] ]
} }