Closed wer-mathurin closed 2 years ago
@SphericalKat I did a pull request(https://github.com/SphericalKat/dart-fuzzywuzzy/pull/8) to fix that. If you can merge it this will be awesome.
Hello, I apologize for being unresponsive; I've been busy with some situations.
Thank you for the PR! I'll merge it as soon as the checks pass.
Will you be able to generate another version of the package? Or let me know what I need to do to help you!
Louis-Michel Mathurin
T : (514) 705-0228
On Tue, 16 Nov 2021 at 17:42, Amogh Milind Lele @.***> wrote:
Closed #7 https://github.com/SphericalKat/dart-fuzzywuzzy/issues/7.
— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/SphericalKat/dart-fuzzywuzzy/issues/7#event-5628216168, or unsubscribe https://github.com/notifications/unsubscribe-auth/AJL6EZYSZSDCEZC4S2VACFTUMLM3RANCNFSM5IB7B4TQ . Triage notifications on the go with GitHub Mobile for iOS https://apps.apple.com/app/apple-store/id1477376905?ct=notification-email&mt=8&pt=524675 or Android https://play.google.com/store/apps/details?id=com.github.android&referrer=utm_campaign%3Dnotification-email%26utm_medium%3Demail%26utm_source%3Dgithub.
@SphericalKat This is due to this method: The removeFirst can throw an exception because it can be empty. So this can be annoying when debugging with the catch all exceptions enabled!
What about doing a little check before, instead of relying on the exception throw? Seems cleaner to me. What do you think?