1 parent b074aba commit 58ee5bdCopy full SHA for 58ee5bd
1 file changed
apps/api-documenter/src/cli/BaseAction.ts
@@ -46,9 +46,7 @@ export abstract class BaseAction extends CommandLineAction {
46
}
47
48
this.outputFolder = this._outputFolderParameter.value || `./${this.actionName}`;
49
- if (!fsx.existsSync(this.outputFolder)) {
50
- throw new Error('The output folder does not exist: ' + this.outputFolder);
51
- }
+ fsx.mkdirsSync(this.outputFolder);
52
53
for (const filename of fsx.readdirSync(this.inputFolder)) {
54
if (filename.match(/\.api\.json$/i)) {
0 commit comments