mirror of
https://github.com/maplibre/martin.git
synced 2025-01-09 00:26:47 +03:00
minor linting
This commit is contained in:
parent
209d8b4735
commit
a54b2d7c8c
2
justfile
2
justfile
@ -313,7 +313,7 @@ check-doc:
|
|||||||
|
|
||||||
# Run cargo clippy
|
# Run cargo clippy
|
||||||
clippy:
|
clippy:
|
||||||
cargo clippy --workspace --all-targets --bins --tests --lib --benches -- -D warnings
|
cargo clippy --workspace --all-targets --bins --tests --lib --benches --examples -- -D warnings
|
||||||
|
|
||||||
# Validate markdown URLs with markdown-link-check
|
# Validate markdown URLs with markdown-link-check
|
||||||
clippy-md:
|
clippy-md:
|
||||||
|
@ -157,8 +157,7 @@ impl PgBuilder {
|
|||||||
if let Some(auto_tables) = &self.auto_tables {
|
if let Some(auto_tables) = &self.auto_tables {
|
||||||
let schemas = auto_tables
|
let schemas = auto_tables
|
||||||
.schemas
|
.schemas
|
||||||
.as_ref()
|
.clone()
|
||||||
.cloned()
|
|
||||||
.unwrap_or_else(|| db_tables_info.keys().cloned().collect());
|
.unwrap_or_else(|| db_tables_info.keys().cloned().collect());
|
||||||
info!(
|
info!(
|
||||||
"Auto-publishing tables in schemas [{}] as '{}' sources",
|
"Auto-publishing tables in schemas [{}] as '{}' sources",
|
||||||
@ -256,8 +255,7 @@ impl PgBuilder {
|
|||||||
if let Some(auto_funcs) = &self.auto_functions {
|
if let Some(auto_funcs) = &self.auto_functions {
|
||||||
let schemas = auto_funcs
|
let schemas = auto_funcs
|
||||||
.schemas
|
.schemas
|
||||||
.as_ref()
|
.clone()
|
||||||
.cloned()
|
|
||||||
.unwrap_or_else(|| db_funcs_info.keys().cloned().collect());
|
.unwrap_or_else(|| db_funcs_info.keys().cloned().collect());
|
||||||
info!(
|
info!(
|
||||||
"Auto-publishing functions in schemas [{}] as '{}' sources",
|
"Auto-publishing functions in schemas [{}] as '{}' sources",
|
||||||
|
Loading…
Reference in New Issue
Block a user