Closed raineorshine closed 4 years ago
Thanks for the great library!
When the docPath directory does not already exist, it throws an ENOENT error. This PR uses mkdirp to ensure the directory is created before writing the path.
docPath
mkdirp
Thanks! This looks good, just need to fix the whitespace issues mentioned here: https://github.com/wikimedia/eslint-docgen/pull/88/files
Okay, should be good to go now!
Thanks for the great library!
When the
docPath
directory does not already exist, it throws an ENOENT error. This PR usesmkdirp
to ensure the directory is created before writing the path.