File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 66 "hooks" : [
77 {
88 "type" : " command" ,
9- "command" : " cd \" $(git rev-parse --show-toplevel) \" && if command -v python3 >/dev/null 2>&1; then python3 .claude/hooks/check-dangerous-commands.py; else python .claude/hooks/check-dangerous-commands.py; fi"
9+ "command" : " cd \" $CLAUDE_PROJECT_DIR \" && if command -v python3 >/dev/null 2>&1; then python3 .claude/hooks/check-dangerous-commands.py; else python .claude/hooks/check-dangerous-commands.py; fi"
1010 }
1111 ]
1212 },
1515 "hooks" : [
1616 {
1717 "type" : " command" ,
18- "command" : " cd \" $(git rev-parse --show-toplevel) \" && if command -v python3 >/dev/null 2>&1; then python3 .claude/hooks/check-secrets-file.py; else python .claude/hooks/check-secrets-file.py; fi"
18+ "command" : " cd \" $CLAUDE_PROJECT_DIR \" && if command -v python3 >/dev/null 2>&1; then python3 .claude/hooks/check-secrets-file.py; else python .claude/hooks/check-secrets-file.py; fi"
1919 }
2020 ]
2121 }
You can’t perform that action at this time.
0 commit comments