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

fix: Minimatch pattern assertion on Windows OS #1304

Merged
merged 1 commit into from
May 15, 2020
Merged

fix: Minimatch pattern assertion on Windows OS #1304

merged 1 commit into from
May 15, 2020

Conversation

Unnvaldr
Copy link
Contributor

I'm not entirely sure if that does the job (doesn't come up with some repercussions), but I don't have experience with minimatch package.
You can experience an error on Windows, when you've your project on other drive than system drive. With the things how absolutePath expression works, you won't land magically on system drive like the comparison pattern expects you to, so I removed the C: from the beginning of the pattern.

@Gerrit0 Gerrit0 merged commit 0708fb8 into TypeStrong:master May 15, 2020
@Gerrit0
Copy link
Collaborator

Gerrit0 commented May 15, 2020

Thanks!

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