From 4773d07974167b565ba84d5603a6d6f70cd12660 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Bartek=20Iwa=C5=84czuk?= Date: Thu, 23 Feb 2023 20:43:18 +0100 Subject: feat(task): adjust warning (#17904) Put it on a single line and remove coloring. --- cli/tools/task.rs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'cli/tools') diff --git a/cli/tools/task.rs b/cli/tools/task.rs index 0eb0d14e3..721c47696 100644 --- a/cli/tools/task.rs +++ b/cli/tools/task.rs @@ -72,10 +72,9 @@ pub async fn execute_script( }; let script = get_script_with_args(script, &ps); log::info!( - "{} Currently only basic package.json `scripts` are supported.", + "{} Currently only basic package.json `scripts` are supported. Programs like `rimraf` or `cross-env` will not work correctly. This will be fixed in the upcoming release.", colors::yellow("Warning"), ); - log::info!("{}", colors::gray("Programs like `rimraf` or `cross-env` will not work correctly. This will be fixed in the upcoming release.")); output_task(task_name, &script); let seq_list = deno_task_shell::parser::parse(&script) .with_context(|| format!("Error parsing script '{task_name}'."))?; -- cgit v1.2.3