From bc5021588430818cab8b16a43527f4b5a7a4f126 Mon Sep 17 00:00:00 2001 From: Roland Schaer Date: Mon, 26 May 2025 15:37:57 +0000 Subject: [PATCH] fix: multi-line task output is shown in bold --- src/cli/run.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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) }