mirror of
https://github.com/LemmyNet/lemmy.git
synced 2024-11-22 20:31:19 +00:00
Format replaceable_schema files in lint.sh
This commit is contained in:
parent
d09854a722
commit
0c6961735e
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue