-
-
Notifications
You must be signed in to change notification settings - Fork 763
Open
Labels
state: needs triageWaiting to be triaged by a maintainer.Waiting to be triaged by a maintainer.
Description
In case of output: prefixed, if we have a task calling an internal task (see ex taskfile above), prefix used for internal task should be caller task's prefix to completely hide internal task.
taskfile.yml :
version: 3
output: prefixed
tasks:
.internal:
internal: true
cmds:
- echo "internal"
external2:
cmds:
- echo "external2"
- task: .internal
external:
cmds:
- echo "external"
- task: external2actual output of : task external
[external] external
[external2] external2
[internal] internal
expected output :
[external] external
[external2] external2
[external2] internal
I have put two levels of calling in this exemple to explicitly see that prefix should be inherited from direct caller only.
If prefix is customized on caller, then internal callee should use this one.
If prefix is customized on internal task, then there shouldn't have inheritance.
Metadata
Metadata
Assignees
Labels
state: needs triageWaiting to be triaged by a maintainer.Waiting to be triaged by a maintainer.