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: reset deletes only sdk files instead of the whole folder #132

Closed
wants to merge 8 commits into from

Conversation

marandaneto
Copy link
Member

@marandaneto marandaneto commented May 14, 2024

💡 Motivation and Context

Closes #130
PR won't be merged to the main branch since it's a patch and there's the 3.3 alpha.
Will cherry-pick the branch after cutting the patch and make sure the changes make to the main branch

  • Add tests to avoid regression

💚 How did you test it?

Running locally and checking cache folders

📝 Checklist

  • I reviewed the submitted code.
  • I added tests to verify the changes.
  • I updated the docs if needed.
  • No breaking change or entry added to the changelog.

@marandaneto marandaneto requested a review from a team May 14, 2024 14:35
@marandaneto marandaneto marked this pull request as ready for review May 15, 2024 06:21
@@ -694,6 +694,18 @@ class PostHogSDKTest: QuickSpec {
sut.reset()
sut.close()
}

it("reset deletes posthog files but not other folders") {
Copy link
Member

Choose a reason for hiding this comment

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

❤️

Copy link
Member

@pauldambra pauldambra left a comment

Choose a reason for hiding this comment

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

👍 🚢

@marandaneto
Copy link
Member Author

@marandaneto marandaneto deleted the 3.2.5_patch branch September 25, 2024 12:14
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.

MAJOR - Deleting Application Support Directory!
3 participants