Skip to content

Commit 4d34bb6

Browse files
committed
fs: revert changes in test-fs-opendir-recursive.js
The getDirentPath function in test/sequential/test-fs-opendir-recursive.js has been reverted for stability. Refs: #53969 (comment)
1 parent 79da800 commit 4d34bb6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/sequential/test-fs-opendir-recursive.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ for (let i = 0; i < expected.length; i++) {
128128
}
129129

130130
function getDirentPath(dirent) {
131-
return pathModule.relative(testDir, pathModule.join(dirent.path, dirent.name));
131+
return pathModule.relative(testDir, dirent.path);
132132
}
133133

134134
function assertDirents(dirents) {

0 commit comments

Comments
 (0)