From 20841962f6da8bf15a6e6fb2780b643b6c265602 Mon Sep 17 00:00:00 2001 From: KtorZ Date: Thu, 16 Feb 2023 10:06:12 +0100 Subject: [PATCH] Fix error messages still referring to blueprint's purpose. --- crates/aiken-project/src/error.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/crates/aiken-project/src/error.rs b/crates/aiken-project/src/error.rs index 9e6ddcee..cb136de0 100644 --- a/crates/aiken-project/src/error.rs +++ b/crates/aiken-project/src/error.rs @@ -369,13 +369,13 @@ impl Diagnostic for Error { }))), Error::NoValidatorNotFound { known_validators } => { Some(Box::new(format!( - "Here's a list of all validators (and their purpose) I've found in your project. Please double-check this list against the options that you've provided:\n\n{}", + "Here's a list of all validators I've found in your project. Please double-check this list against the options that you've provided:\n\n{}", known_validators.iter().map(|title| format!("→ {title}", title = title.purple().bold())).collect::>().join("\n") ))) }, Error::MoreThanOneValidatorFound { known_validators } => { Some(Box::new(format!( - "Here's a list of all validators (and their purpose) I've found in your project. Select one of them using the appropriate options:\n\n{}", + "Here's a list of all validators I've found in your project. Select one of them using the appropriate options:\n\n{}", known_validators.iter().map(|title| format!("→ {title}", title = title.purple().bold())).collect::>().join("\n") ))) },