From e3aab4980a1684ad9aaa63ed919ea29278942e5b Mon Sep 17 00:00:00 2001 From: David Arayan Date: Wed, 13 Dec 2023 16:40:04 +1100 Subject: [PATCH] - Fixed pathing issue inconsistency as `sdk` is now added automatically by generator --- sdk-core/src/generator/generator.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sdk-core/src/generator/generator.ts b/sdk-core/src/generator/generator.ts index 4e065a1..bd4477c 100644 --- a/sdk-core/src/generator/generator.ts +++ b/sdk-core/src/generator/generator.ts @@ -20,7 +20,7 @@ export class Generator { schemas.push(Schema.generate((new (controller)()))); }); - const outputDir: string = `./${data.output}/${data.package.name}`; + const outputDir: string = `./${data.output}/${data.package.name}-sdk`; // ensure project folder exists fs.mkdirSync(`${outputDir}/src/schemas`, { recursive: true });