aboutsummaryrefslogtreecommitdiffhomepage
path: root/crates/mozart/src/commands/prohibits.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/mozart/src/commands/prohibits.rs')
-rw-r--r--crates/mozart/src/commands/prohibits.rs10
1 files changed, 6 insertions, 4 deletions
diff --git a/crates/mozart/src/commands/prohibits.rs b/crates/mozart/src/commands/prohibits.rs
index a6a70d5..55a8175 100644
--- a/crates/mozart/src/commands/prohibits.rs
+++ b/crates/mozart/src/commands/prohibits.rs
@@ -1,4 +1,5 @@
use clap::Args;
+use mozart_core::console_format;
use std::path::PathBuf;
#[derive(Args)]
@@ -62,10 +63,11 @@ pub async fn execute(
if results.is_empty() {
println!(
"{}",
- mozart_core::console::info(&format!(
- "{} {} can be installed.",
- args.package, args.version
- ))
+ console_format!(
+ "<info>{} {} can be installed.</info>",
+ args.package,
+ args.version
+ )
);
return Ok(());
}