1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-19 22:06:21 -05:00
denoland-deno/tests/specs/task/workspace_regex_match/deno.json
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

6 lines
95 B
JSON

{
"workspace": ["./subdir"],
"tasks": {
"test-all": "deno task --recursive test"
}
}