fix: make hooks.json polyglot for Gemini CLI and Claude Code compatibility

This commit is contained in:
flyingnobita
2026-04-24 20:19:07 +08:00
committed by Trevin Chow
parent 71b1e8a411
commit e1017e95c9
+1 -1
View File
@@ -6,7 +6,7 @@
"hooks": [
{
"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
}
]