From 572e2a4ed533a0ef242e946443b14bdb9cc91bc4 Mon Sep 17 00:00:00 2001 From: Denis Otkidach Date: Tue, 30 Jul 2024 03:28:41 +0300 Subject: [PATCH] fix(cli): typo in error for required DB URL (#3389) --- sqlx-cli/src/opt.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sqlx-cli/src/opt.rs b/sqlx-cli/src/opt.rs index be9ca6dac1..29f9cc17a6 100644 --- a/sqlx-cli/src/opt.rs +++ b/sqlx-cli/src/opt.rs @@ -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" ) ) }