From 2c7f86f33f9dd69e1a6b04e6500e3b75c1f9eb5e Mon Sep 17 00:00:00 2001 From: lambda-0x <0xlambda@protonmail.com> Date: Wed, 15 May 2024 12:30:45 +0530 Subject: [PATCH] fix: stale error message --- crates/sozo/ops/src/migration/migrate.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/sozo/ops/src/migration/migrate.rs b/crates/sozo/ops/src/migration/migrate.rs index c879d1624d..0bd52eeb91 100644 --- a/crates/sozo/ops/src/migration/migrate.rs +++ b/crates/sozo/ops/src/migration/migrate.rs @@ -648,8 +648,8 @@ pub fn handle_artifact_error(ui: &Ui, artifact_path: &Path, error: anyhow::Error ui.verbose(format!("{path}: {error:?}")); anyhow!( - "Discrepancy detected in {name}.\nUse `sozo clean` to clean your project or `sozo clean \ - --artifacts` to clean artifacts only.\nThen, rebuild your project with `sozo build`." + "Discrepancy detected in {name}.\nUse `sozo clean` to clean your project.\n + Then, rebuild your project with `sozo build`." ) }