Skip to content

Commit

Permalink
fix(openapi-nest.factory): Correct condition for outputFolderPath
Browse files Browse the repository at this point in the history
  • Loading branch information
andreymyssak committed Oct 30, 2023
1 parent ddc2d88 commit 1795835
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openapi-nest.factory.ts
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ export class OpenApiNestFactory {
let outputFolderPath =
toolsOptions?.clientGeneratorOptions?.outputFolderPath;

if (outputFolderPath?.length) {
if (!outputFolderPath?.length) {
outputFolderPath = new AxiosClientGeneratorOptions().outputFolderPath;
try {
const title = documentBuilder.build().info.title;
Expand Down

0 comments on commit 1795835

Please sign in to comment.