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

Add removeSingleSlash option #120

Merged
merged 3 commits into from Sep 28, 2020
Merged

Conversation

silverwind
Copy link
Contributor

@silverwind silverwind commented Sep 28, 2020

Decided it's better to have a separate option than to overload a boolean type with non-boolean values.

Fixes: #119

Edit: Updated to invert the option as it seems more in the spirit of this module.

@silverwind silverwind force-pushed the keepslash branch 3 times, most recently from 72491d5 to be04d70 Compare September 28, 2020 17:52
@silverwind silverwind changed the title Add keepSingleSlash option Add removeSingleSlash option Sep 28, 2020
Decided it's better to have a separate option than to overload a boolean
type with non-boolean values.

Fixes: sindresorhus#119
index.d.ts Outdated Show resolved Hide resolved
index.d.ts Outdated Show resolved Hide resolved
@sindresorhus sindresorhus merged commit 18effbe into sindresorhus:master Sep 28, 2020
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.

Option to keep trailing slash in all cases
2 participants