Skip to content

Commit dbb3018

Browse files
odsjrasanen
authored andcommitted
fix(cli): typo in error for required DB URL (launchbadge#3389)
1 parent a67a463 commit dbb3018

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sqlx-cli/src/opt.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -265,7 +265,7 @@ impl ConnectOpts {
265265
pub fn required_db_url(&self) -> anyhow::Result<&str> {
266266
self.database_url.as_deref().ok_or_else(
267267
|| anyhow::anyhow!(
268-
"the `--database-url` option the or `DATABASE_URL` environment variable must be provided"
268+
"the `--database-url` option or the `DATABASE_URL` environment variable must be provided"
269269
)
270270
)
271271
}

0 commit comments

Comments
 (0)