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

bug: ASDF_DEBUG: unbound variable #1743

Open
ncapilla opened this issue Apr 15, 2024 · 1 comment
Open

bug: ASDF_DEBUG: unbound variable #1743

ncapilla opened this issue Apr 15, 2024 · 1 comment
Labels

Comments

@ncapilla
Copy link

Describe the Bug

If you run a script with set -u, it will raise this error because you are accessing the variable without checking if it's set or not.

/root/.asdf/bin/asdf: line 4: ASDF_DEBUG: unbound variable

Steps to Reproduce

Using v0.14.0, run a script with set -u and try to use asdf.

Expected Behaviour

The access to the env variable is controlled.

Actual Behaviour

It raises an error.

Environment

Not needed

asdf plugins affected (if relevant)

No response

@ncapilla ncapilla added the bug label Apr 15, 2024
@ncapilla
Copy link
Author

Same here

/root/.asdf/lib/utils.bash: line 30: ASDF_DATA_DIR: unbound variable

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant