Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 4d34bb6

Browse files
committedJul 21, 2024·
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

+1-1
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)
Please sign in to comment.