Files
davila7__claude-code-templates/cli-tool/components/hooks/security/dangerous-command-blocker.json
Moiri Gamboni a0b4da050c fix: dangerous-command-blocker hook references wrong script path (#367)
The installer (`installIndividualHook` in index.js) places companion
Python scripts in `.claude/hooks/`, but the hook config referenced
`.claude/scripts/`. This meant the hook would always fail with a
"file not found" error at runtime, silently rendering it non-functional.

Also removed the `2>&1` stderr redirect which masked the error by
merging stderr into stdout, causing the hook runner to report the
unhelpful "No stderr output" message instead of the actual cause.

Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-22 21:17:44 -08:00

800 B