Skip to content

Commit 567a732

Browse files
committed
fix: remove condition mistake of CLI option
1 parent b4fbc03 commit 567a732

File tree

1 file changed

+0
-7
lines changed

1 file changed

+0
-7
lines changed

src/cli.ts

Lines changed: 0 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -14,13 +14,6 @@ export const run = (args: string[]) => {
1414
return;
1515
}
1616

17-
if (!argv.config) {
18-
build(
19-
argv.input ? { openapi: { inputFile: argv.input, outputDir: argv.outputDir } } : undefined
20-
);
21-
return;
22-
}
23-
2417
const configs: ConfigFile[] = getConfigs(argv.config);
2518

2619
if (configs.length > 1) {

0 commit comments

Comments
 (0)