-
-
Notifications
You must be signed in to change notification settings - Fork 801
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
[legacy-framework] fix(server): force forward slashes in absolute imports #393
Conversation
Still working on this, avert your eyes. |
@wKovacs64 Sure, I'm just organizing all Issues and PRs. Let me know if I assigned the wrong tags. |
@simonpeterdebbarma Oh you're good, that wasn't directed at you - more of a general warning for anyone who stumbled along (although I guess that should be obvious from being in draft). 🙂 |
OK, I think this is ready. The testing situation sucks because the implementation relies on Node's |
packages/server/src/synchronizer/pipeline/rules/relative/relative-paths.test.ts
Outdated
Show resolved
Hide resolved
76bddb1
to
82e9bcb
Compare
Type: bug fix
Closes: blitz-js/legacy-framework#495
What are the changes and their implications? ⚙️
Sindre Sorhus to the rescue again. Slashified the result of
path.join
(it was trying to be helpful, but it wasn't in this particular case) to enforce forward slashes in absolute paths. A hack? Maybe. I don't know anymore.Checklist
packages/server/src/log.ts
Breaking change: no
At least, I sure hope not.
Other information