From 972f88c8cfe7b9af17f83a689a0f0cf1f35e568a Mon Sep 17 00:00:00 2001 From: Florent Michel <56166507+FlorentCLMichel@users.noreply.github.com> Date: Sun, 23 Jun 2024 00:47:22 +0100 Subject: [PATCH] Correct a typo in error message --- cli/src/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cli/src/main.rs b/cli/src/main.rs index 4ecc0a6..325463d 100644 --- a/cli/src/main.rs +++ b/cli/src/main.rs @@ -56,7 +56,7 @@ async fn init(args: InitArgs) -> ZResult<()> { if dir.exists() { clap::Error::raw( clap::error::ErrorKind::ValueValidation, - format!("the init directory has already existed: {dir:?}"), + format!("the init directory already exists: {dir:?}\n"), ) .exit() }