mirror of
https://github.com/denoland/deno.git
synced 2025-02-19 11:52:52 -05:00

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
3 lines
64 B
Text
3 lines
64 B
Text
Task test-all deno task --recursive test
|
|
Task test echo 'ok'
|
|
ok
|