Closed nopeless closed 1 year ago
Just as a fyi you could
fs.mkdirSync(path.resolve(repoDirectory, ...directories), {recursive: true})
Which will recursively create the parents if needed.
Thanks!
Just as a fyi you could
fs.mkdirSync(path.resolve(repoDirectory, ...directories), {recursive: true})
Which will recursively create the parents if needed.
Didn't know that, thanks
Something like this would be more appropriate actually