-
Notifications
You must be signed in to change notification settings - Fork 5.9k
Fix relative paths #4594
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 relative paths #4594
Conversation
Since this is for file system paths it feels incorrect to use it on URL paths as they are different in many ways.
Before we relied on the client to resolve the base given to it by the backend against the path. Instead have the client pass that information along so we can resolve it on the backend. This means the client has to do less work.
This is re-used for incremental compilation. Also remove del since that was the only use (and we can use fs.rmdir in the future if we need something like this).
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.
This means the client has to do less work.
Favorite part of this whole PR 👏
Codecov Report
@@ Coverage Diff @@
## main #4594 +/- ##
==========================================
- Coverage 65.80% 65.61% -0.19%
==========================================
Files 30 30
Lines 1658 1652 -6
Branches 333 330 -3
==========================================
- Hits 1091 1084 -7
- Misses 479 481 +2
+ Partials 88 87 -1
Continue to review full report at Codecov.
|
Fixes #4503