diff options
| author | Divy Srivastava <dj.srivastava23@gmail.com> | 2024-09-15 11:29:24 +0530 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-15 11:29:24 +0530 |
| commit | a666c8c9f92d87e7a3b4d4e06fdc027b3bf9663e (patch) | |
| tree | 2d0b8f74dbf8a56bf5c0e2c5750a16a56583fab3 /tests/specs/task/workspace/__test__.jsonc | |
| parent | db6fc12b9e2d5cb55c1f3c61b054805505ae11a6 (diff) | |
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 <stibium121@gmail.com>
Diffstat (limited to 'tests/specs/task/workspace/__test__.jsonc')
| -rw-r--r-- | tests/specs/task/workspace/__test__.jsonc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/specs/task/workspace/__test__.jsonc b/tests/specs/task/workspace/__test__.jsonc index b08f35afc..5a3ad1356 100644 --- a/tests/specs/task/workspace/__test__.jsonc +++ b/tests/specs/task/workspace/__test__.jsonc @@ -3,25 +3,25 @@ "root": { "args": "task", "output": "root.out", - "exitCode": 1 + "exitCode": 0 }, "package_a": { "args": "task", "cwd": "package-a", "output": "package-a.out", - "exitCode": 1 + "exitCode": 0 }, "package_b": { "args": "task", "cwd": "package-b", "output": "package-b.out", - "exitCode": 1 + "exitCode": 0 }, "scripts": { "args": "task", "cwd": "scripts", "output": "scripts.out", - "exitCode": 1 + "exitCode": 0 }, "package_b_tasks": { "steps": [{ |
