From 09f607fa824ecc99d6a1d1424715d388364ba878 Mon Sep 17 00:00:00 2001 From: Vincent Koc Date: Sun, 15 Mar 2026 21:40:33 -0700 Subject: [PATCH] Hooks: tolerate hidden generated format targets --- git-hooks/pre-commit | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/git-hooks/pre-commit b/git-hooks/pre-commit index 948f2087ada..469ccd28b88 100755 --- a/git-hooks/pre-commit +++ b/git-hooks/pre-commit @@ -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[@]}"