summaryrefslogtreecommitdiff
path: root/cli/tools/task.rs
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2023-02-23 20:43:18 +0100
committerGitHub <noreply@github.com>2023-02-23 20:43:18 +0100
commit4773d07974167b565ba84d5603a6d6f70cd12660 (patch)
treeb28247a630c8077be25cc66524d36f37c1dfca5b /cli/tools/task.rs
parent451b45ee3a26ed6e393c3deba86937e1a6dc5649 (diff)
feat(task): adjust warning (#17904)
Put it on a single line and remove coloring.
Diffstat (limited to 'cli/tools/task.rs')
-rw-r--r--cli/tools/task.rs3
1 files changed, 1 insertions, 2 deletions
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}'."))?;