Skip to content

fix: normalize backslashes - #26

Merged
wraithgar merged 1 commit into
mainfrom
gar/normalize-glob
Feb 17, 2022
Merged

wraithgar merged 1 commit into
mainfrom
gar/normalize-glob

Conversation

@wraithgar

@wraithgar wraithgar commented Feb 16, 2022 •

Copy link
Copy Markdown
Contributor

The next semver-major of minimatch does not allow backslashes. We'll
normalize it here so that change doesn't break anyone currently relying
on that behavior

@wraithgar
wraithgar requested a review from a team as a code owner February 16, 2022 17:26
@wraithgar

Copy link
Copy Markdown
Contributor Author

This shows that #25 can merge as-is

@ruyadorno ruyadorno left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

👍 LGTM

@wraithgar

Copy link
Copy Markdown
Contributor Author

Good thing we tested this, looks like we should normalize what minimatch removed.

The next semver-major of minimatch does not allow backslashes.  We'll
normalize it here so that change doesn't break anyone currently relying
on that behavior.
@wraithgar wraithgar changed the title chore: add test showing backslashes don't work fix: normalize backslashes Feb 16, 2022
@wraithgar
wraithgar requested a review from ruyadorno February 16, 2022 18:01
Comment thread lib/index.js
@wraithgar
wraithgar merged commit 777e4d3 into main Feb 17, 2022
@wraithgar
wraithgar deleted the gar/normalize-glob branch February 17, 2022 16:58
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