mirror of
https://github.com/denoland/deno.git
synced 2024-12-19 22:06:21 -05:00
14e4064986
This commit fixes `deno task` by checking if the provided task name actually has a wildcard char ("*"). Previously, if the "--recursive" flag was passed, the task name was treated as a regex, which lead to a situation where exact task name resulted in a regex that matched all tasks with the specific prefix. This commit fixes it, by checking if the provided task name, is an exact name, or is it a wildcard match. Closes https://github.com/denoland/deno/issues/27370 Closes https://github.com/denoland/deno/issues/27401 Closes https://github.com/denoland/deno/issues/27408
6 lines
95 B
JSON
6 lines
95 B
JSON
{
|
|
"workspace": ["./subdir"],
|
|
"tasks": {
|
|
"test-all": "deno task --recursive test"
|
|
}
|
|
}
|