1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-29 02:29:06 -05:00
denoland-deno/tests/specs/run/run_task/__test__.jsonc
Marvin Hagemeister 7e68cce815
fix(task): support tasks with colons in name in deno run (#25233)
Fix task names containing a colon not being found with `deno run`. We
were only checking for a `module not found` error message, but strings
containing a colon throw a different error.

Fixes https://github.com/denoland/deno/issues/25232
2024-08-27 11:27:10 +02:00

17 lines
331 B
Text

{
"tests": {
"deno_run_task": {
"args": "run main",
"output": "main.out"
},
"deno_run_module_task_not_found": {
"args": "run not_found",
"output": "not_found.out",
"exitCode": 1
},
"deno_run_task_colon": {
"args": "run main:foo",
"output": "main_foo.out"
}
}
}