-
I think that adding this restriction is fine for now. It keeps things simple. However, I can definitely see a world where someone with a complex setup asks for the current behaviour as it would allow you to do something like this:
version: 3
tasks:
foo-*-*:
..
foo-*:
..
This allows Task to do something different depending on if the user does task foo-bar vs task foo-bar-baz. This would not be possible if we errored when multiple tasks match since task-bar-baz matches both tasks in the file.
Happy to add the error for now and revisit this later though.
Originally posted by @pd93 in #1489 (comment)
Originally posted by @pd93 in #1489 (comment)