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

refactor: trimSlashes returns string #8

Merged
merged 4 commits into from
May 10, 2023

Conversation

johannes-lindgren
Copy link
Contributor

What

trimSlashes now always returns a string.

What

Before, it could return undefined, but this does not make sense. When trimming a string of a kind of character, another string should always be the result.

@johannes-lindgren johannes-lindgren marked this pull request as ready for review May 9, 2023 15:29
@johannes-lindgren johannes-lindgren merged commit 0f07527 into main May 10, 2023
1 check passed
@johannes-lindgren johannes-lindgren deleted the EXT-1526-trim-slashes-always-return-string branch May 10, 2023 10:02
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.

None yet

2 participants