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