diff --git a/.changeset/cold-cobras-wish.md b/.changeset/cold-cobras-wish.md new file mode 100644 index 0000000..42cbf7b --- /dev/null +++ b/.changeset/cold-cobras-wish.md @@ -0,0 +1,5 @@ +--- +"create-better-t-stack": patch +--- + +Remove redundant await return in create project mutation diff --git a/apps/cli/src/index.ts b/apps/cli/src/index.ts index 023006f..edf2d85 100644 --- a/apps/cli/src/index.ts +++ b/apps/cli/src/index.ts @@ -306,10 +306,10 @@ const router = t.router({ .mutation(async ({ input }) => { const [projectName, options] = input; const combinedInput = { - projectName: projectName || undefined, + projectName, ...options, }; - return await createProjectHandler(combinedInput); + await createProjectHandler(combinedInput); }), });