Skip to content

Commit

Permalink
fixup! fixup! fs: remove dirent.path
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Nov 7, 2024
1 parent 813909a commit 1704be9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion benchmark/fs/bench-opendirSync.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ tmpdir.refresh();

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

0 comments on commit 1704be9

Please sign in to comment.