summaryrefslogtreecommitdiff
path: root/plugins/hookify
diff options
context:
space:
mode:
authorMohamed Hegazy <8000722+mhegazy@users.noreply.github.com>2026-05-19 17:54:18 -0700
committerGitHub <noreply@github.com>2026-05-19 17:54:18 -0700
commitbef2b9b246e2072d167a71b7a8d65718ec55d2ef (patch)
tree6c3340ec941ca1dd3490b814224b897e2ff1f736 /plugins/hookify
parentae21a9367949f92df4e31231d7efe43eaa08207c (diff)
parentb58bdbf5512a8c4f03c24057fe7bd756ce4db962 (diff)
Merge pull request #1935 from anthropics/fix/quote-claude-plugin-root-paths
fix: quote ${CLAUDE_PLUGIN_ROOT} in hookify and security-guidance hook commands
Diffstat (limited to 'plugins/hookify')
-rw-r--r--plugins/hookify/hooks/hooks.json8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/hookify/hooks/hooks.json b/plugins/hookify/hooks/hooks.json
index d65daca7..4aa457a2 100644
--- a/plugins/hookify/hooks/hooks.json
+++ b/plugins/hookify/hooks/hooks.json
@@ -6,7 +6,7 @@
"hooks": [
{
"type": "command",
- "command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/pretooluse.py",
+ "command": "python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/pretooluse.py\"",
"timeout": 10
}
]
@@ -17,7 +17,7 @@
"hooks": [
{
"type": "command",
- "command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/posttooluse.py",
+ "command": "python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/posttooluse.py\"",
"timeout": 10
}
]
@@ -28,7 +28,7 @@
"hooks": [
{
"type": "command",
- "command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/stop.py",
+ "command": "python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/stop.py\"",
"timeout": 10
}
]
@@ -39,7 +39,7 @@
"hooks": [
{
"type": "command",
- "command": "python3 ${CLAUDE_PLUGIN_ROOT}/hooks/userpromptsubmit.py",
+ "command": "python3 \"${CLAUDE_PLUGIN_ROOT}/hooks/userpromptsubmit.py\"",
"timeout": 10
}
]