Skip to content

Commit

Permalink
fix: stale error message
Browse files Browse the repository at this point in the history
  • Loading branch information
lambda-0x committed May 15, 2024
1 parent 102dcb8 commit 2c7f86f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crates/sozo/ops/src/migration/migrate.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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`."
)
}

Expand Down

0 comments on commit 2c7f86f

Please sign in to comment.