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

Use path.join for Windows fs separators #9

Merged
merged 5 commits into from
Dec 31, 2022
Merged

Conversation

linus
Copy link
Owner

@linus linus commented Dec 19, 2022

Hi @bengeendokter -- thank you for reporting the issue and submitting a fix. I think this would work and would be a preferable fix for me. Would you mind pulling this branch and trying it out?

Fixes #7.

@linus linus mentioned this pull request Dec 19, 2022
- Change internal paths to posix (for easier testability)
- Use url.pathToFileURL and path.resolve to normalize the path to
  a platform independent file: URL
- Update test cases for relative paths.

Fixes #7.
@linus linus merged commit a9d7f4a into main Dec 31, 2022
@linus linus deleted the fix/support-windows-path branch December 31, 2022 13:59
@linus linus mentioned this pull request Dec 31, 2022
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.

Windows path error
1 participant