mirror of
https://github.com/go-task/task.git
synced 2026-06-11 09:51:50 +00:00
feat: error when multiple wildcard matches are found
This commit is contained in:
4
testdata/wildcards/Taskfile.yml
vendored
4
testdata/wildcards/Taskfile.yml
vendored
@@ -5,6 +5,10 @@ tasks:
|
||||
cmds:
|
||||
- echo "Hello {{index .MATCH 0}}"
|
||||
|
||||
wildcard-*-*:
|
||||
cmds:
|
||||
- echo "Hello {{index .MATCH 0}}"
|
||||
|
||||
'*-wildcard-*':
|
||||
cmds:
|
||||
- echo "Hello {{index .MATCH 0}} {{index .MATCH 1}}"
|
||||
|
||||
Reference in New Issue
Block a user