mirror of
https://github.com/clawdbot/clawdbot.git
synced 2026-03-17 17:33:45 +01:00
Hooks: tolerate hidden generated format targets
This commit is contained in:
@@ -43,7 +43,7 @@ if [ "${#lint_files[@]}" -gt 0 ]; then
|
||||
fi
|
||||
|
||||
if [ "${#format_files[@]}" -gt 0 ]; then
|
||||
"$RUN_NODE_TOOL" oxfmt --write -- "${format_files[@]}"
|
||||
"$RUN_NODE_TOOL" oxfmt --write --no-error-on-unmatched-pattern "${format_files[@]}"
|
||||
fi
|
||||
|
||||
git add -- "${files[@]}"
|
||||
|
||||
Reference in New Issue
Block a user