-
Notifications
You must be signed in to change notification settings - Fork 2
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: keep internal consistency with glob and paths #303
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's getting late on a Friday. I'll pick this up later.
ab1aa32
to
e68717f
Compare
Is the problem here that we get wrong separator on Windows which does not match with "URL" path separators? Not sure I 100% understand the issue. Though; Glob support returning a POSIX separator independent of the underlying OS by setting
Would setting this on the glob avoid all this separator checking / converting in different places in the code? |
There are a few issues this PR tries to solve:
|
This issue is starting to back up the pull request queues now that they run on Windows hosts. We could skip Windows for now, but it would be nice to get this merged in one state or another. |
e68717f
to
f99b007
Compare
Windows paths threw a spanner in the works. This might not be the optimal solution for outside modules, in which case I'm open to changing the behavior to maintain win32 style paths on that OS. The reasoning here is to keep in line with glob (which recommends only using forward slashes in patterns) and the URLs which end up on the Eik server (which, being HTTP URLs, use forward slash). This should hopefully fix an issue Windows users have with the Eik CLI not finding the files configured in eik.json
Not active unless passing --only, but still
1033d4b
to
8e1db7c
Compare
## [4.1.1](v4.1.0...v4.1.1) (2024-08-16) ### Bug Fixes * windows support ([#303](#303)) ([4e6a307](4e6a307))
🎉 This issue has been resolved in version 4.1.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Windows paths threw a spanner in the works. This might not be the
optimal solution for outside modules, in which case I'm open to
changing the behavior to maintain win32 style paths on that OS.
The reasoning here is to keep in line with glob (which recommends
only using forward slashes in patterns) and the URLs which end up
on the Eik server (which, being HTTP URLs, use forward slash).
This should hopefully fix an issue Windows users have with the Eik
CLI not finding the files configured in eik.json