From 8ac76d6591380032a9938628d7b3b14737ef1c4c Mon Sep 17 00:00:00 2001 From: Denis Otkidach Date: Sun, 28 Jul 2024 14:38:35 +0300 Subject: [PATCH] fix(cli): typo in error for required DB URL --- 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" ) ) }