Skip to content

(maint) Add missing string split options#661

Merged
gep13 merged 2 commits intocake-contrib:developfrom
AdmiringWorm:ignore-empty-splits
Sep 10, 2020
Merged

(maint) Add missing string split options#661
gep13 merged 2 commits intocake-contrib:developfrom
AdmiringWorm:ignore-empty-splits

Conversation

@AdmiringWorm
Copy link
Member

Due to a use case not being considered, trailing spaces, multiple spaces and prefixed spaces causes an exception to occur.
This pull request adds a StringSplitOptions.None to all split operations to prevent this from happening.

Copy link
Member

@gep13 gep13 left a comment

Choose a reason for hiding this comment

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

LGTM!

@gep13 gep13 merged commit c3c4827 into cake-contrib:develop Sep 10, 2020
@gep13
Copy link
Member

gep13 commented Sep 10, 2020

@AdmiringWorm thanks for doing this!

@gep13 gep13 added this to the 2.0.0 milestone Sep 10, 2020
@gep13 gep13 added the Bug label Sep 10, 2020
@AdmiringWorm AdmiringWorm deleted the ignore-empty-splits branch September 10, 2020 19:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants