mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-24 23:30:56 +00:00
Format replaceable_schema files in lint.sh (#4868)
This commit is contained in:
parent
d09854a722
commit
9120207314
|
@ -12,6 +12,6 @@ cargo +nightly fmt
|
|||
taplo format
|
||||
|
||||
# Format sql files
|
||||
find migrations -type f -name '*.sql' -exec pg_format -i {} +
|
||||
find migrations crates/db_schema/replaceable_schema -type f -name '*.sql' -exec pg_format -i {} +
|
||||
|
||||
cargo clippy --workspace --fix --allow-staged --allow-dirty --tests --all-targets --all-features -- -D warnings
|
||||
|
|
Loading…
Reference in a new issue