Skip to content

refactor: pattern match instead of filter()-ing twice and unwrapping#109

Merged
coder3101 merged 1 commit intocoder3101:mainfrom
bramadityaw:refactor_ProtoLanguageState_parse_all_from_workspace
Feb 15, 2026
Merged

refactor: pattern match instead of filter()-ing twice and unwrapping#109
coder3101 merged 1 commit intocoder3101:mainfrom
bramadityaw:refactor_ProtoLanguageState_parse_all_from_workspace

Conversation

@bramadityaw
Copy link
Contributor

Instead of filter()-ing file paths that has a file extension and filter()-ing again to check if the extension is equal to the Protobuf extension, we pattern match and compare in a single filter() call.

@coder3101 coder3101 merged commit bd95532 into coder3101:main Feb 15, 2026
1 check passed
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