aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart/src/commands/install.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/mozart/src/commands/install.rs')
-rw-r--r--crates/mozart/src/commands/install.rs11
1 files changed, 4 insertions, 7 deletions
diff --git a/crates/mozart/src/commands/install.rs b/crates/mozart/src/commands/install.rs
index 91d73e0..428c5cc 100644
--- a/crates/mozart/src/commands/install.rs
+++ b/crates/mozart/src/commands/install.rs
@@ -987,13 +987,10 @@ fn warn_platform_requirements(
if is_platform_package(req_name) {
let lower = req_name.to_lowercase();
if !ignored_set.contains(&lower) {
- console.info(&format!(
- "{}",
- console::warning(&format!(
- "Platform requirement {req_name} {req_constraint} (required by {}) \
- has not been verified. Platform detection is not yet fully implemented.",
- pkg.name
- ))
+ console.info(&console_format!(
+ "<warning>Platform requirement {req_name} {req_constraint} (required by {}) \
+ has not been verified. Platform detection is not yet fully implemented.</warning>",
+ pkg.name
));
}
}