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: GethDevProcess.disconnect() deleted the entire data folder on disconnect #2492

Merged
merged 2 commits into from
Feb 5, 2025

Conversation

antazoey
Copy link
Member

@antazoey antazoey commented Feb 5, 2025

What I did

This was bad for me; it should only have deleted the files it needed to delete, not the entire folder.

How I did it

Delete the known geth-dev files instead of the entire folder during disconnect.

How to verify it

Checklist

  • All changes are completed
  • Change is covered in tests
  • Documentation is complete

@antazoey antazoey changed the title fix: GethDevProcess.disconnect() deleted the entire data folder I gave it. fix: GethDevProcess.disconnect() deleted the entire data folder on disconnect Feb 5, 2025
@antazoey antazoey force-pushed the fix/dont-delete-entire-dir branch from 9d0390c to 1cbcabf Compare February 5, 2025 21:19
@antazoey antazoey requested a review from fubuloubu February 5, 2025 21:20
@antazoey antazoey enabled auto-merge (squash) February 5, 2025 21:20
@antazoey antazoey merged commit 142d51b into ApeWorX:main Feb 5, 2025
18 checks passed
@antazoey antazoey deleted the fix/dont-delete-entire-dir branch February 5, 2025 22:00
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