mirror of
https://github.com/launchbadge/sqlx.git
synced 2025-10-03 07:45:30 +00:00
fix(cli): typo in error for required DB URL (#3389)
This commit is contained in:
parent
fd4cb99fc7
commit
572e2a4ed5
@ -265,7 +265,7 @@ impl ConnectOpts {
|
|||||||
pub fn required_db_url(&self) -> anyhow::Result<&str> {
|
pub fn required_db_url(&self) -> anyhow::Result<&str> {
|
||||||
self.database_url.as_deref().ok_or_else(
|
self.database_url.as_deref().ok_or_else(
|
||||||
|| anyhow::anyhow!(
|
|| anyhow::anyhow!(
|
||||||
"the `--database-url` option the or `DATABASE_URL` environment variable must be provided"
|
"the `--database-url` option or the `DATABASE_URL` environment variable must be provided"
|
||||||
)
|
)
|
||||||
)
|
)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user