mirror of
https://github.com/denoland/deno.git
synced 2024-12-20 06:15:44 -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
5 lines
45 B
JSON
5 lines
45 B
JSON
{
|
|
"tasks": {
|
|
"test": "echo 'ok'"
|
|
}
|
|
}
|