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: handling glob paths incorrectly on Windows #166

Merged
merged 1 commit into from
May 26, 2022
Merged

fix: handling glob paths incorrectly on Windows #166

merged 1 commit into from
May 26, 2022

Conversation

kleinfreund
Copy link
Contributor

@kleinfreund kleinfreund commented May 18, 2022

Fixes an issue with glob paths being handled incorrectly on Windows caused by a breaking change in the glob package which no longer allows backslashes as path separators.

Intends to fix #159.


I don’t use a Windows machine myself, so I’d appreciate someone using testing these changes.

Also, the approach for testing this change is rather naive as I’m merely simulating a Windows-style path by replacing the forward slashes in the paths used in the respective tests which is effectively the inverse of the implemented fix and so it doesn’t test a real scenario. I’m happy to hear about any suggestions improving this.

Furthermore, do you want me to include rebuilt distribution files in the PR branch or do you prefer to build separately before publishing a new version?

Fixes an issue with glob paths being handled incorrectly on Windows caused by a breaking change in the glob package which no longer allows backslashes as path separators.
@frynt
Copy link

frynt commented May 23, 2022

Nice, Up for merging :)

@Spittal Spittal merged commit 77b980b into Spittal:main May 26, 2022
@Spittal
Copy link
Owner

Spittal commented May 26, 2022

Thanks so much! @kleinfreund

@kleinfreund kleinfreund deleted the 159-fix-glop-path-for-windows branch May 27, 2022 15:48
josestbernard pushed a commit to josestbernard/vue-i18n-extract that referenced this pull request Nov 3, 2022
…-windows

fix: handling glob paths incorrectly on Windows
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.0.5: [vue-i18n-extract] Error: vueFiles glob has no files.
3 participants