From a666c8c9f92d87e7a3b4d4e06fdc027b3bf9663e Mon Sep 17 00:00:00 2001 From: Divy Srivastava Date: Sun, 15 Sep 2024 11:29:24 +0530 Subject: fix(cli): `deno task` exit with status 0 (#25637) Fixes https://github.com/denoland/deno/issues/25632 Exit code 1 indiciates some sort of failure but `deno task` (without arguments) is used to list available commands. --------- Co-authored-by: Yoshiya Hinosawa --- tests/specs/task/no_args/__test__.jsonc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tests/specs/task/no_args') diff --git a/tests/specs/task/no_args/__test__.jsonc b/tests/specs/task/no_args/__test__.jsonc index 9ec24d1d2..6347c5989 100644 --- a/tests/specs/task/no_args/__test__.jsonc +++ b/tests/specs/task/no_args/__test__.jsonc @@ -4,5 +4,5 @@ "envs": { "NO_COLOR": "1" }, - "exitCode": 1 + "exitCode": 0 } -- cgit v1.2.3