Skip to content

Commit 8201e41

Browse files
committed
Update writeClient.ts
1 parent 6fb4f9f commit 8201e41

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/utils/writeClient.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ export async function writeClient(
6060
await rmdir(outputPathCore);
6161
await mkdir(outputPathCore);
6262
await writeClientCore(client, templates, outputPathCore, httpClient, awsSign, request);
63+
await writeAppClient(client, templates, outputPath, httpClient, clientName, postfix, awsSign);
6364
}
6465

6566
if (exportServices) {
@@ -89,8 +90,6 @@ export async function writeClient(
8990
await writeClientModels(client.models, templates, outputPathModels, httpClient, useUnionTypes);
9091
}
9192

92-
await writeAppClient(client, templates, outputPath, httpClient, clientName, postfix, awsSign);
93-
9493
if (exportCore || exportServices || exportSchemas || exportModels) {
9594
await mkdir(outputPath);
9695
await writeClientIndex(

0 commit comments

Comments
 (0)