fs: fix parentPath returned from getDirent() when type is UV_DIRENT_UNKNOWN#55553
Conversation
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #55553 +/- ##
==========================================
- Coverage 88.42% 88.42% -0.01%
==========================================
Files 654 654
Lines 187852 187852
Branches 36134 36135 +1
==========================================
- Hits 166102 166101 -1
- Misses 14989 14991 +2
+ Partials 6761 6760 -1
|
|
Let's wait for #55548 to land first: since there's no other test failure, it seems plausible that this change does not have any impact on the public API, it might also be due to a lack of coverage, so better safe than sorry. |
|
This is not directly connected to the deprecated If anyone knows how to test this on CI without exposing internals, I'd be happy to increase coverage here. Landing this after #55548 (which is |
It should remove them yes
Hum no, I would say we should not backport it, or at least not unless we find a way to not interfere with the |
1 similar comment
It should remove them yes
Hum no, I would say we should not backport it, or at least not unless we find a way to not interfere with the |
063c168 to
9613c19
Compare
|
Rebased on top of #55548 (
semver-major
|
|
Landed in c91ce21 |
PR-URL: nodejs#55553 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
PR-URL: nodejs#55553 Reviewed-By: Antoine du Hamel <duhamelantoine1995@gmail.com>
The
parentPathmust be a path to the parent directory rather than path to the file itself./cc @Ethan-Arrowood @nodejs/fs