Skip to content

Commit

Permalink
fix(cli): typo in error for required DB URL (launchbadge#3389)
Browse files Browse the repository at this point in the history
  • Loading branch information
ods authored and jrasanen committed Oct 14, 2024
1 parent 9889359 commit f2fdab3
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 f2fdab3

Please sign in to comment.