We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Task version: v3.30.1 (h1:HdfCTAJDHoWL3+3RyY+o+0IK1O5xQaSBrZIq2SKOQ84=)
macOS: Apple M1 Max
TASK_X_REMOTE_TASKFILES=1
The documentation on Special Variables says:
ROOT_DIR | The absolute path of the root Taskfile.
But the value of ROOT_DIR is a relative path not an absolute path.
ROOT_DIR
/tmp ❯ tree . ├── bar │ └── taskfile.yaml ├── foo /tmp ❯ cat bar/taskfile.yaml version: '3' tasks: default: cmds: - echo {{ .ROOT_DIR }} /tmp ❯ cd foo/ /tmp/foo ❯ task -t ../bar/taskfile.yaml task: [default] echo ../bar ../bar
Expected /tmp/bar. Actual ../bar
/tmp/bar
../bar
The text was updated successfully, but these errors were encountered:
Fix preview script
bc17839
Note: - go-task/task#1354
This is working since v3.35.1
Sorry, something went wrong.
No branches or pull requests
Task version: v3.30.1 (h1:HdfCTAJDHoWL3+3RyY+o+0IK1O5xQaSBrZIq2SKOQ84=)
macOS: Apple M1 Max
TASK_X_REMOTE_TASKFILES=1
)Problem
The documentation on Special Variables says:
But the value of
ROOT_DIR
is a relative path not an absolute path.Setup
Expected
/tmp/bar
. Actual../bar
The text was updated successfully, but these errors were encountered: