-
-
Notifications
You must be signed in to change notification settings - Fork 31.8k
fs: fix cp, cpSync handle existing symlinks #58476
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
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #58476 +/- ##
==========================================
+ Coverage 90.19% 90.22% +0.03%
==========================================
Files 635 635
Lines 187394 187608 +214
Branches 36800 36857 +57
==========================================
+ Hits 169014 169265 +251
+ Misses 11134 11133 -1
+ Partials 7246 7210 -36
🚀 New features to boost your workflow:
|
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 looks great! thanks for the fix @jakecastelli 🫶
By the way, could you please rebase this to the latest main and basically revert the changes I made here? 🙂 #58472
I don't think that this PR fully addresses #58468 since the issue mentions the bug both in |
72eccea
to
b12e46f
Compare
Thanks for the pointer, I was a bit running late last night and didn't pay close attention to the |
b12e46f
to
646be5d
Compare
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.
Looks great! thanks a lot again @jakecastelli 🙏
I just left a couple of comments about the tests comments, I hope those can be addressed before landing this 🙂🙏
646be5d
to
cf9b301
Compare
This comment was marked as outdated.
This comment was marked as outdated.
cf9b301
to
9a75dec
Compare
9a75dec
to
d637ce4
Compare
d637ce4
to
cde63b2
Compare
Landed in 0c6e16b...68bac3d |
|
@aduh95 do you think we could/should just revert the change only for v22? |
@dario-piotrowicz it will be included only if we can build and the tests are passing. If it's not worth backporting, we should add the
dont-land-on-v22.x
|
got it, thanks 🙂👍
Sorry you're right, I was asking more in the sense of this being a small bug fix, so if it were problematic in v22 we could avoid the backport, but yeah ideally it should land in v22 as well... |
This reverts commit 52430b9. PR-URL: nodejs#58476 Fixes: nodejs#58468 Reviewed-By: Dario Piotrowicz <dario.piotrowicz@gmail.com>
PR-URL: nodejs#58476 Fixes: nodejs#58468 Reviewed-By: Dario Piotrowicz <dario.piotrowicz@gmail.com>
PR-URL: nodejs#58476 Fixes: nodejs#58468 Reviewed-By: Dario Piotrowicz <dario.piotrowicz@gmail.com>
Fixes: #58468