-
-
Notifications
You must be signed in to change notification settings - Fork 793
Closed as not planned
Labels
breaking changeChanges that are not backward compatible.Changes that are not backward compatible.state: awaiting responseWaiting for issue author to respond.Waiting for issue author to respond.
Description
- Task version: 3.9.0
- Operating System: macOS 11.6 (Big Sur)
Example Taskfile showing the issue
When a task invokes another task as part of its cmds block, the called task should inherit the dir of the calling task.
Consider the following taskfile at /tmp/task/Taskfile.yml:
---
version: "3"
tasks:
inner:
cmds:
- pwd
outer:
dir: inner
cmds:
- pwd
- task: innerI would expect the command task outer to produce:
/tmp/task/inner
/tmp/task/inner
but instead it produces:
/tmp/task/inner
/tmp/task
I think this is unexpected behavior, but I'm happy to hear another point of view
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
breaking changeChanges that are not backward compatible.Changes that are not backward compatible.state: awaiting responseWaiting for issue author to respond.Waiting for issue author to respond.