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

Handle return descriptions with double spaces #371

Merged
merged 2 commits into from
Aug 22, 2023

Conversation

Cruikshanks
Copy link
Member

@Cruikshanks Cruikshanks commented Aug 22, 2023

https://eaflood.atlassian.net/browse/WATER-4046

When testing the returns matching and using the 'friendly' output an error was reported. After some investigation, we tracked the issue to a return with a description that included a double space. It was causing the _titleCaseAllWords() function to implode.

This change updates the function to handle this scenario.

https://eaflood.atlassian.net/browse/WATER-4046

When testing the returns matching and using the 'friendly' output an error was reported. After some investigation we tracked the issue to a return with a description that included a double space. It was causing the `_titleCaseAllWords()` function to implode.

This change updates the function to handle this scenario.
@Cruikshanks Cruikshanks added the bug Something isn't working label Aug 22, 2023
@Cruikshanks Cruikshanks self-assigned this Aug 22, 2023
What were we thinking!
@Cruikshanks Cruikshanks marked this pull request as ready for review August 22, 2023 13:16
@Cruikshanks Cruikshanks merged commit b11a0b7 into main Aug 22, 2023
@Cruikshanks Cruikshanks deleted the fix-friendly-response-error branch August 22, 2023 13:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant