Skip to content

Commit 4259225

Browse files
chore(internal): fix incremental formatting in some cases
1 parent ea78dbd commit 4259225

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

scripts/fast-format

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,6 @@ echo "==> Running prettier --write"
3535
PRETTIER_FILES="$(grep '\.\(js\|json\)$' "$FILE_LIST" || true)"
3636
if ! [ -z "$PRETTIER_FILES" ]; then
3737
echo "$PRETTIER_FILES" | xargs ./node_modules/.bin/prettier \
38-
--write --cache --cache-strategy metadata \
38+
--write --cache --cache-strategy metadata --no-error-on-unmatched-pattern \
3939
'!**/dist' '!**/*.ts' '!**/*.mts' '!**/*.cts' '!**/*.js' '!**/*.mjs' '!**/*.cjs'
4040
fi

0 commit comments

Comments
 (0)