-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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: normalize rootDir and cwd to their realpath #7598
Conversation
|
||
try { | ||
options.rootDir = realpath(options.rootDir); | ||
} catch (e) { |
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 threw on CI since we have some /root/path
in tests, which got a permission error
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.
Can we include comments in why news realpath there?
Codecov Report
@@ Coverage Diff @@
## master #7598 +/- ##
==========================================
+ Coverage 68.01% 68.03% +0.01%
==========================================
Files 248 248
Lines 9499 9503 +4
Branches 6 6
==========================================
+ Hits 6461 6465 +4
Misses 3036 3036
Partials 2 2
Continue to review full report at Codecov.
|
Done: cf15c24 |
…s#7598 Signed-off-by: Will Smythe <[email protected]>
This pull request has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs. |
Summary
See discussion in #7556.
Result:
Previous result:
Does anyone think this might mess up somehow?
Test plan
Not sure how to write a test for this.