配置: 修正 hooks 脚本路径为绝对路径
- 将 user-prompt-submit hook 路径从相对路径改为绝对路径 - 确保在任何工作目录下都能正确执行 hook
This commit is contained in:
@@ -9,7 +9,7 @@
|
||||
"hooks": [
|
||||
{
|
||||
"type": "command",
|
||||
"command": ".claude/hooks/user-prompt-submit.sh"
|
||||
"command": "/data/git/gitea/szis/isos/tech/.claude/hooks/user-prompt-submit.sh"
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user