1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-19 13:54:54 -05:00
denoland-deno/tests/specs/task/workspace_regex_match
Bartek Iwańczuk 14e4064986
fix(task): properly handle task name wildcards with --recursive (#27396)
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
2024-12-18 03:32:37 +01:00
..
subdir fix(task): properly handle task name wildcards with --recursive (#27396) 2024-12-18 03:32:37 +01:00
__test__.jsonc fix(task): properly handle task name wildcards with --recursive (#27396) 2024-12-18 03:32:37 +01:00
deno.json fix(task): properly handle task name wildcards with --recursive (#27396) 2024-12-18 03:32:37 +01:00
root.out fix(task): properly handle task name wildcards with --recursive (#27396) 2024-12-18 03:32:37 +01:00