summaryrefslogtreecommitdiff
path: root/cli
diff options
context:
space:
mode:
authorBartek IwaƄczuk <biwanczuk@gmail.com>2022-10-18 14:39:04 +0200
committerGitHub <noreply@github.com>2022-10-18 14:39:04 +0200
commit23bb0abc230bd796e60bb8e22ccc39aef5629158 (patch)
tree022f96b60fffce64b0ba8e9d4b2b565d7859b0b5 /cli
parent6fbd95630a7cf04de5e1179b3d41f8f769fa897c (diff)
feat(task): remove warning about being unstable (#16281)
`deno task` has been in use for a few months now. It was very well received and there are not many complaints. I feel like this warning might be discouraging for some users and we don't really plan to make drastic changes to it (besides adding support for globs in unspecified future).
Diffstat (limited to 'cli')
-rw-r--r--cli/tests/testdata/task/task_exit_code_5.out1
-rw-r--r--cli/tests/testdata/task/task_non_existent.out1
-rw-r--r--cli/tools/task.rs4
3 files changed, 0 insertions, 6 deletions
diff --git a/cli/tests/testdata/task/task_exit_code_5.out b/cli/tests/testdata/task/task_exit_code_5.out
index 6b53b1d38..12d171939 100644
--- a/cli/tests/testdata/task/task_exit_code_5.out
+++ b/cli/tests/testdata/task/task_exit_code_5.out
@@ -1,3 +1,2 @@
-Warning deno task is unstable and may drastically change in the future
Task exit_code_5 echo $(echo 10 ; exit 2) && exit 5
10
diff --git a/cli/tests/testdata/task/task_non_existent.out b/cli/tests/testdata/task/task_non_existent.out
index 645e96f2b..035a43fd8 100644
--- a/cli/tests/testdata/task/task_non_existent.out
+++ b/cli/tests/testdata/task/task_non_existent.out
@@ -1,4 +1,3 @@
-Warning deno task is unstable and may drastically change in the future
Task not found: non_existent
Available tasks:
- boolean_logic
diff --git a/cli/tools/task.rs b/cli/tools/task.rs
index 4b05a37e5..4cbba8661 100644
--- a/cli/tools/task.rs
+++ b/cli/tools/task.rs
@@ -25,10 +25,6 @@ pub async fn execute_script(
flags: Flags,
task_flags: TaskFlags,
) -> Result<i32, AnyError> {
- log::warn!(
- "{} deno task is unstable and may drastically change in the future",
- crate::colors::yellow("Warning"),
- );
let ps = ProcState::build(flags).await?;
let tasks_config = ps.options.resolve_tasks_config()?;
let config_file_url = ps.options.maybe_config_file_specifier().unwrap();