Skip to content

Commit

Permalink
🐛 mcdoc-cli: fix missing directory
Browse files Browse the repository at this point in the history
  • Loading branch information
MulverineX authored Oct 4, 2023
1 parent d947568 commit 8c168c2
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/mcdoc-cli/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -122,6 +122,10 @@ await CLI.scriptName('mcdoc')

if (args.dry !== true) {
await fs.ensureDir(out)

if (args.module) {
await fs.ensureDir(join(out, 'module'))
}
}

const symbols = []
Expand Down

0 comments on commit 8c168c2

Please sign in to comment.