Skip to content

Commit 3db9fbd

Browse files
committed
ci: Don't fail format check if there are no changesets
1 parent 8c97784 commit 3db9fbd

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

justfile

+2-2
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ reformat-toml:
3232
taplo format
3333

3434
reformat-docs:
35-
npx prettier *.md .changeset/*.md --write
35+
npx prettier *.md .changeset*.md --write --no-error-on-unmatched-pattern
3636
npm --prefix docs run reformat
3737

3838
check-format: check-rust-format check-toml-format check-docs-format
@@ -44,7 +44,7 @@ check-toml-format:
4444
taplo format --check
4545

4646
check-docs-format:
47-
npx prettier *.md .changeset/*.md --list-different
47+
npx prettier *.md .changeset/*.md --list-different --no-error-on-unmatched-pattern
4848
npm --prefix docs run check-format
4949

5050
# Install dependencies for `lint`, `default`, `check-format`, `reformat`, and some of `ci`. Requires `cargo-binstall`

0 commit comments

Comments
 (0)