Skip to content

Commit 572e2a4

Browse files
authored
fix(cli): typo in error for required DB URL (#3389)
1 parent fd4cb99 commit 572e2a4

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)