fix: unreachable DbPool match arm for workspace feature unification
This commit is contained in:
@@ -129,7 +129,6 @@ fn wire_repositories(pool: &DbPool) -> anyhow::Result<WireOutput> {
|
|||||||
library_query: w.library_query,
|
library_query: w.library_query,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
#[cfg(not(any(feature = "sqlite", feature = "postgres")))]
|
|
||||||
_ => anyhow::bail!("database backend not compiled into this binary"),
|
_ => anyhow::bail!("database backend not compiled into this binary"),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -210,7 +210,6 @@ fn wire_repositories(pool: &DbPool) -> anyhow::Result<WireOutput> {
|
|||||||
provider_config_query: w.provider_config_query,
|
provider_config_query: w.provider_config_query,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
#[cfg(not(any(feature = "sqlite", feature = "postgres")))]
|
|
||||||
_ => anyhow::bail!("database backend not compiled into this binary"),
|
_ => anyhow::bail!("database backend not compiled into this binary"),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user