Skip to content

Commit

Permalink
fix(cli): typo in error for required DB URL (#3389)
Browse files Browse the repository at this point in the history
  • Loading branch information
ods authored Jul 30, 2024
1 parent fd4cb99 commit 572e2a4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sqlx-cli/src/opt.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
)
)
}
Expand Down

0 comments on commit 572e2a4

Please sign in to comment.