diff options
author | Bartek IwaĆczuk <biwanczuk@gmail.com> | 2023-02-23 16:41:28 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-02-23 16:41:28 +0100 |
commit | 214bdbbc2b09ab3f56f0ffe1ad5930d48ec0c76f (patch) | |
tree | f2b3bf0aa7bbdfb620f26618ba9b672068697417 /cli/tools | |
parent | 998aeff3d428ab28351f03129023850abb0b5bbe (diff) |
feat(task): add warning about package.json scripts support (#17900)
Diffstat (limited to 'cli/tools')
-rw-r--r-- | cli/tools/task.rs | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/cli/tools/task.rs b/cli/tools/task.rs index 523f2bc88..0eb0d14e3 100644 --- a/cli/tools/task.rs +++ b/cli/tools/task.rs @@ -71,6 +71,11 @@ pub async fn execute_script( .to_owned(), }; let script = get_script_with_args(script, &ps); + log::info!( + "{} Currently only basic package.json `scripts` are supported.", + 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}'."))?; |