File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
packages/nx-plugin/src/generators/openapi-client Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -538,7 +538,9 @@ export async function generateNxProject({
538
538
throw new Error ( `Spec file ${ specFile } is not a file or valid URI.` ) ;
539
539
}
540
540
541
- const generateOutputs : Output [ ] = [ '{options.outputPath}' ] ;
541
+ const generateOutputs : Output [ ] = [
542
+ `{projectRoot}/src/${ CONSTANTS . GENERATED_DIR_NAME } ` ,
543
+ ] ;
542
544
const generateOutputPath = `./src/${ CONSTANTS . GENERATED_DIR_NAME } ` ;
543
545
544
546
// if the spec file is remote then we don't need to depend on a project
@@ -618,7 +620,6 @@ export async function generateNxProject({
618
620
specFile : `./${ CONSTANTS . SPEC_DIR_NAME } /${ CONSTANTS . SPEC_FILE_NAME } ` ,
619
621
} ) ,
620
622
cwd : `{projectRoot}` ,
621
- outputPath : generateOutputPath ,
622
623
} ,
623
624
outputs : generateOutputs ,
624
625
} ,
You can’t perform that action at this time.
0 commit comments