mirror of
https://github.com/jmagar/unraid-mcp
synced 2026-04-21 13:37:53 +00:00
fix(hooks): add if matcher to fix-env-perms — only fire on .env file changes
This commit is contained in:
parent
c768c53518
commit
02251b3f9f
1 changed files with 2 additions and 1 deletions
|
|
@ -24,7 +24,8 @@
|
|||
{
|
||||
"type": "command",
|
||||
"command": "${CLAUDE_PLUGIN_ROOT}/hooks/scripts/fix-env-perms.sh",
|
||||
"timeout": 5
|
||||
"timeout": 5,
|
||||
"if": "Write(*.env*)|Edit(*.env*)|MultiEdit(*.env*)|Bash(*.env*)"
|
||||
},
|
||||
{
|
||||
"type": "command",
|
||||
|
|
|
|||
Loading…
Reference in a new issue