Skip to content

fs: fix value of `dirent.path`

Rodrigo Muino Tomonari requested to merge github/fork/aduh95/fix-dirent-path into main

To my understanding, this property should contain the full path to that dirent (as it is the case on v18.x), not the path to its parent directory (as it's the case on v20.x+). This PR aligns to v18.x behavior.

/cc @nodejs/fs

Merge request reports

Loading