Skip to content

Commit

Permalink
util: generate_man - Create output directory recursively
Browse files Browse the repository at this point in the history
  • Loading branch information
cmouse committed Nov 5, 2024
1 parent 1a75147 commit c910614
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion util/generate_man.js
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ const processDovecotMdPre = () => {
const main = async (component, outPath) => {
/* Create output directory, if it doesn't exist. */
if (!fs.existsSync(outPath)) {
await fs.promises.mkdir(outPath)
await fs.promises.mkdir(outPath, { recursive: true })
}

/* Generate list of man files. */
Expand Down

0 comments on commit c910614

Please sign in to comment.