-
Notifications
You must be signed in to change notification settings - Fork 490
Replace mkdirp with fs.mkdirSync(path, { recursive: true }) #608
Copy link
Copy link
Closed
Description
Is your feature request related to a problem? Please describe.
In April 2016, the Node.js fs APIs did not provide recursive mode to create files. So mkdirp utility was used in 5d58f41
Node.js fs.mkdirSync added recursive option in Node.js v10.12.0 published on Oct 10, 2018.
The mkdirp currently uses these native APIs:
- https://github.com/isaacs/node-mkdirp/blob/fdf6005432c2506ce31f8cae237039dda2f8479d/src/opts-arg.ts#L4-L8
- https://github.com/isaacs/node-mkdirp/blob/fdf6005432c2506ce31f8cae237039dda2f8479d/src/mkdirp-native.ts#L13-L19
Describe the solution you'd like
Replace mkdirp with fs.mkdirSync(path, { recursive: true })
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels