mirror of
https://github.com/launchbadge/sqlx
synced 2024-11-10 06:24:16 +00:00
fix(cli): typo in error for required DB URL (#3389)
This commit is contained in:
parent
fd4cb99fc7
commit
572e2a4ed5
1 changed files with 1 additions and 1 deletions
|
@ -265,7 +265,7 @@ impl ConnectOpts {
|
|||
pub fn required_db_url(&self) -> anyhow::Result<&str> {
|
||||
self.database_url.as_deref().ok_or_else(
|
||||
|| 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…
Reference in a new issue