-
Notifications
You must be signed in to change notification settings - Fork 719
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
Retention fix #196
Retention fix #196
Conversation
Oops, should have run the tests locally before submitting. Requiring the dots was the one thing I knew could be made more specific, and is what's causing the failure right now. I was trying to avoid changing too much, I think to make it better we need multiple glob patterns. |
Thanks for the PR! |
e5dc06b
to
a6dbeb6
Compare
@gazpachoking Ok, you was totally right, multiple glob patterns are required. I took the liberty of making changes to your branch as a result of this PR, I hope you don't mind. While refactoring the code, I decided to combine the glob pattern with a regex check which I think is more permissive: we want to match At the same time, I realized it was wrong to call Also, I tried to fix a 100%-theoretical bug that could occur if This results in code much more convoluted unfortunately, but this should greatly reduce false positives during |
It is a bit hard to read and understand the glob and regex bit, but the expanded test suite is clear, and makes me confident it's doing what it's supposed to now. 👍 |
Great, thanks for the review! Let's merge it then. ;) |
Addresses issues in #195