mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-10-01 01:36:12 -04: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 New Issue
Block a user