We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
dirent.path
1 parent 813909a commit 1704be9Copy full SHA for 1704be9
benchmark/fs/bench-opendirSync.js
@@ -8,7 +8,7 @@ tmpdir.refresh();
8
9
const testFiles = fs.readdirSync('test', { withFileTypes: true })
10
.filter((f) => f.isDirectory())
11
- .map((f) => path.join(f.path, f.name));
+ .map((f) => path.join(f.parentPath, f.name));
12
const bench = common.createBenchmark(main, {
13
type: ['existing', 'non-existing'],
14
n: [1e3],
0 commit comments