diff --git a/src/cli/run.rs b/src/cli/run.rs index 567909606c..844d18d601 100644 --- a/src/cli/run.rs +++ b/src/cli/run.rs @@ -523,11 +523,11 @@ impl Run { ) -> Result<()> { let config = Config::get().await; let script = script.trim_start(); - let cmd = style::ebold(format!("$ {script} {args}", args = args.join(" "))) - .bright() - .to_string(); + let cmd = format!("$ {script} {args}", args = args.join(" ")).to_string(); if !self.quiet(Some(task)) { - let msg = trunc(prefix, config.redact(cmd).trim()); + let msg = style::ebold(trunc(prefix, config.redact(cmd).trim())) + .bright() + .to_string(); self.eprint(task, prefix, &msg) }