Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@farkasmate
Copy link
Contributor

Summary

Check for existence of environment variables with ASDF_INSTALL_ prefix rather than ASDF_INSTALL_ in the value of the variables.

Fixes: 2005

Other Information

bats is setting a variable with the description of the test running causing the test to fail:

BATS_TEST_DESCRIPTION=asdf execute plugin default command unsets ASDF_INSTALL_TYPE ASDF_INSTALL_VERSION and ASDF_INSTALL_PATH env variables

Related to: #1982

@farkasmate farkasmate requested a review from a team as a code owner March 5, 2025 10:01
Copy link
Member

@Stratus3D Stratus3D left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the fix @farkasmate !

@Stratus3D Stratus3D changed the title fix: ASDF_INSTALL_* envvar unset test (#2005) fix: correct ASDF_INSTALL_* envvar unset test Mar 5, 2025
@Stratus3D Stratus3D merged commit 6fbf94a into asdf-vm:master Mar 5, 2025
9 checks passed
@farkasmate farkasmate deleted the fix_env_unset branch March 6, 2025 10:58
machupicchubeta pushed a commit to machupicchubeta/asdf that referenced this pull request Mar 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants