diff --git a/src/index.ts b/src/index.ts index 21b488e7c..1c518410e 100644 --- a/src/index.ts +++ b/src/index.ts @@ -193,14 +193,13 @@ export async function createClient(userConfig: UserConfig): Promise { if (config.write) { logClientMessage(config.client); + logMissingDependenciesWarning(config.client, dependencies); await writeClient(client, templates, config); processOutput(config, dependencies); } console.log('✨ Done! Your client is located in:', config.output); - logMissingDependenciesWarning(config.client, dependencies); - return client; }