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

Guard against restore being called with no previously saved state #503

Merged
merged 1 commit into from
Apr 30, 2024

Conversation

bkeepers
Copy link
Owner

This adds a guard against calling Dotenv.restore without having previously called Dotenv.save.

This should fix #500, but I can't reproduce that exact scenario.

@bkeepers bkeepers merged commit 6cbcf3c into main Apr 30, 2024
12 checks passed
@bkeepers bkeepers deleted the guard-restore branch April 30, 2024 13:56
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.

ActiveSupport::TestCase teardown error: undefined method `keys' for nil
1 participant