We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 02f13ab commit 2c2e2b5Copy full SHA for 2c2e2b5
benchmark/fs/bench-mkdirp.js
@@ -16,7 +16,7 @@ function main({ n }) {
16
if (cntr-- <= 0)
17
return bench.end(n);
18
const pathname = `${tmpdir.path}/${++dirc}/${++dirc}/${++dirc}/${++dirc}`;
19
- fs.mkdir(pathname, { createParents: true }, (err) => {
+ fs.mkdir(pathname, { recursive: true }, (err) => {
20
r(cntr);
21
});
22
}(n));
0 commit comments