mirror of https://github.com/LemmyNet/lemmy.git
Format replaceable_schema files in lint.sh (#4868)
parent
d09854a722
commit
9120207314
|
@ -12,6 +12,6 @@ cargo +nightly fmt
|
||||||
taplo format
|
taplo format
|
||||||
|
|
||||||
# Format sql files
|
# 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
|
cargo clippy --workspace --fix --allow-staged --allow-dirty --tests --all-targets --all-features -- -D warnings
|
||||||
|
|
Loading…
Reference in New Issue