Open ncapilla opened 2 months ago
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.
set -u
/root/.asdf/bin/asdf: line 4: ASDF_DEBUG: unbound variable
Using v0.14.0, run a script with set -u and try to use asdf.
The access to the env variable is controlled.
It raises an error.
Not needed
No response
Same here
/root/.asdf/lib/utils.bash: line 30: ASDF_DATA_DIR: unbound variable
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
asdf plugins affected (if relevant)
No response