Skip to content

Commit

Permalink
fix: remove condition mistake of CLI option
Browse files Browse the repository at this point in the history
  • Loading branch information
solufa committed Aug 5, 2023
1 parent b4fbc03 commit 567a732
Showing 1 changed file with 0 additions and 7 deletions.
7 changes: 0 additions & 7 deletions src/cli.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,6 @@ export const run = (args: string[]) => {
return;
}

if (!argv.config) {
build(
argv.input ? { openapi: { inputFile: argv.input, outputDir: argv.outputDir } } : undefined
);
return;
}

const configs: ConfigFile[] = getConfigs(argv.config);

if (configs.length > 1) {
Expand Down

0 comments on commit 567a732

Please sign in to comment.