Hooks: tolerate hidden generated format targets

This commit is contained in:
Vincent Koc
2026-03-15 21:40:33 -07:00
parent 5287ae3c06
commit 09f607fa82

View File

@@ -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[@]}"