Skip to content
New issue

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

ROOT_DIR is current work dir #1331

Closed
nych opened this issue Sep 14, 2023 · 1 comment · Fixed by #1334
Closed

ROOT_DIR is current work dir #1331

nych opened this issue Sep 14, 2023 · 1 comment · Fixed by #1334
Labels
area: variables Changes related to variables. type: bug Something not working as intended.

Comments

@nych
Copy link

nych commented Sep 14, 2023

It seems that in the latest version v3.30.0, the ROOT_DIR var is not working according to the documentation. Instead of pointing to the absolute path of the root Taskfile, it points to the current working directory same as USER_WORKING_DIR. It was working fine in v3.29.1.

  • Task version: v3.30.0
  • Operating system: 20.04 5.15.0-83-generic
@task-bot task-bot added the state: needs triage Waiting to be triaged by a maintainer. label Sep 14, 2023
@pd93 pd93 added type: bug Something not working as intended. area: variables Changes related to variables. and removed state: needs triage Waiting to be triaged by a maintainer. labels Sep 14, 2023
@pd93
Copy link
Member

pd93 commented Sep 14, 2023

Thanks for reporting. I can repro this. Looks like TASKFILE_DIR is also not working as intended.

pd93 added a commit that referenced this issue Sep 14, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area: variables Changes related to variables. type: bug Something not working as intended.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants