Skip to content

Commit

Permalink
fs: revert changes in test-fs-opendir-recursive.js
Browse files Browse the repository at this point in the history
The getDirentPath function in test/sequential/test-fs-opendir-recursive.js has been reverted for stability.

Refs: #53969 (comment)
  • Loading branch information
sonsurim committed Jul 21, 2024
1 parent d740bdb commit b2d61d8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/sequential/test-fs-opendir-recursive.js
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ for (let i = 0; i < expected.length; i++) {
}

function getDirentPath(dirent) {
return pathModule.relative(testDir, pathModule.join(dirent.path, dirent.name));
return pathModule.relative(testDir, dirent.path);
}

function assertDirents(dirents) {
Expand Down

0 comments on commit b2d61d8

Please sign in to comment.