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.
1 parent d6aeb1e commit 9eff21dCopy full SHA for 9eff21d
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