-
-
Notifications
You must be signed in to change notification settings - Fork 385
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
Mise adds a root
environment variable
#3883
Comments
I think this was supposed to just be in templates but for some reason it got snuck in as an env var too |
jdx
added a commit
that referenced
this issue
Dec 30, 2024
I believe the intention here was for templates but for some reason this was added to env vars. Removing as it can obviously conflict with other env vars. Fixes #3883 BREAKING CHANGE: you will need to use `{{root}}` or MISE_PROJECT_ROOT after this change.
jdx
added a commit
that referenced
this issue
Dec 30, 2024
I believe the intention here was for templates but for some reason this was added to env vars. Removing as it can obviously conflict with other env vars. Fixes #3883 BREAKING CHANGE: you will need to use `{{root}}` or MISE_PROJECT_ROOT after this change.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Discussed in #3882
Originally posted by orf December 30, 2024
When using a mise task, there seems to be a mysterious
root
environment variable that is added:This unfortunately causes a third-party library in a tool we use to explode. Because... of course it would 😭 😭
This isn't documented anywhere, and I can't see anywhere in the code that it is added. It doesn't seem to be my shell config/profile. It also happens with file-based tasks, and with this the environment variable is not set.
Mise versions:
The text was updated successfully, but these errors were encountered: