mirror of
https://github.com/denoland/deno.git
synced 2024-11-30 16:40:57 -05:00
7e68cce815
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
17 lines
331 B
Text
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"
|
|
}
|
|
}
|
|
}
|