Skip to content

Commit 1704be9

Browse files
committed
fixup! fixup! fs: remove dirent.path
1 parent 813909a commit 1704be9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

benchmark/fs/bench-opendirSync.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ tmpdir.refresh();
88

99
const testFiles = fs.readdirSync('test', { withFileTypes: true })
1010
.filter((f) => f.isDirectory())
11-
.map((f) => path.join(f.path, f.name));
11+
.map((f) => path.join(f.parentPath, f.name));
1212
const bench = common.createBenchmark(main, {
1313
type: ['existing', 'non-existing'],
1414
n: [1e3],

0 commit comments

Comments
 (0)