Skip to content

Commit 947c8b8

Browse files
committed
chore: respect .prettierignore in auto-format workflow
1 parent 891d35c commit 947c8b8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

.github/workflows/auto-format-build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -79,7 +79,7 @@ jobs:
7979
fi
8080
printf 'Formatting %d file(s):\n' "${#files[@]}"
8181
printf ' %s\n' "${files[@]}"
82-
pnpm exec prettier --write "${files[@]}"
82+
pnpm exec prettier --write --ignore-path .prettierignore "${files[@]}"
8383
8484
- name: Check for changes
8585
id: diff

0 commit comments

Comments
 (0)