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

fix: properly pass missing env vars in Plugin.Update #1899

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

n-rodriguez
Copy link
Contributor

Summary

Properly pass missing env vars in Plugin.Update

Fixes:

Thank you!

@n-rodriguez n-rodriguez requested a review from a team as a code owner February 6, 2025 02:31
missingcharacter added a commit to missingcharacter/asdf-direnv that referenced this pull request Feb 7, 2025
@@ -255,6 +255,9 @@ func (p Plugin) Update(conf config.Config, ref string, out, errout io.Writer) (s
}

env := map[string]string{
"HOME": os.Getenv("HOME"),
"ASDF_DIR": os.Getenv("ASDF_DIR"),
Copy link
Member

Choose a reason for hiding this comment

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

ASDF_DIR isn't something that is used in asdf 0.16.0+. Are there still plugins relying on this?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

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