From a68cddf2723981697e1c50a04fe762702d7c3e74 Mon Sep 17 00:00:00 2001 From: Edoardo Marangoni Date: Wed, 19 Jun 2024 11:51:58 +0200 Subject: [PATCH] feat(cli/deploy): Colorize error message --- lib/cli/src/commands/app/deploy.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/cli/src/commands/app/deploy.rs b/lib/cli/src/commands/app/deploy.rs index 31edf35b0fd..449446369c7 100644 --- a/lib/cli/src/commands/app/deploy.rs +++ b/lib/cli/src/commands/app/deploy.rs @@ -678,7 +678,7 @@ pub async fn wait_app( eprintln!(); } if !(res.status().is_success() || res.status().is_redirection()) { - eprintln!("The app version was deployed correctly, but fails with a non-success status code of {}", res.status()) + eprintln!("{}",format!("The app version was deployed correctly, but fails with a non-success status code of {}", res.status()).yellow()); } else { eprintln!("{} Deployment complete", "ð–¥”".yellow().bold()); }