Skip to content

Commit c910614

Browse files
committed
util: generate_man - Create output directory recursively
1 parent 1a75147 commit c910614

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

util/generate_man.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -171,7 +171,7 @@ const processDovecotMdPre = () => {
171171
const main = async (component, outPath) => {
172172
/* Create output directory, if it doesn't exist. */
173173
if (!fs.existsSync(outPath)) {
174-
await fs.promises.mkdir(outPath)
174+
await fs.promises.mkdir(outPath, { recursive: true })
175175
}
176176

177177
/* Generate list of man files. */

0 commit comments

Comments
 (0)