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

Let Bundler.with_original_env properly restore env variables originally empty #7383

Merged
merged 2 commits into from Jan 25, 2024

Conversation

deivid-rodriguez
Copy link
Member

@deivid-rodriguez deivid-rodriguez commented Jan 15, 2024

What was the end-user or developer problem that led to this PR?

Our Bundler.with_original_env helper does not properly restore empty ENV variables.

What is your fix for the problem, implemented in this PR?

Just trying CI to tell me if there's a specific reason for it.

See #7365.

Make sure the following tasks are checked

@Edouard-chin
Copy link

I gave it a try and it fixes the issue I experienced. Thanks 🙇

@deivid-rodriguez deivid-rodriguez force-pushed the properly-restore-empty-env-vars branch 2 times, most recently from 510d8b8 to 605bce3 Compare January 17, 2024 13:08
@deivid-rodriguez deivid-rodriguez marked this pull request as ready for review January 25, 2024 16:06
@deivid-rodriguez deivid-rodriguez changed the title Properly restore empty env vars Let Bundler.with_original_env properly restore env variables originally empty Jan 25, 2024
deivid-rodriguez and others added 2 commits January 25, 2024 18:55
Co-authored-by: Samuel Giddins <segiddins@segiddins.me>
@deivid-rodriguez deivid-rodriguez merged commit f76d492 into master Jan 25, 2024
82 checks passed
@deivid-rodriguez deivid-rodriguez deleted the properly-restore-empty-env-vars branch January 25, 2024 21:19
deivid-rodriguez added a commit that referenced this pull request Feb 5, 2024
Let `Bundler.with_original_env` properly restore env variables originally empty

(cherry picked from commit f76d492)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Bundler.with_original_env not resetting to original value when ENV is an empty string
3 participants