diff --git a/generate-routes.ts b/generate-routes.ts index 19a65a10..12f4a3bd 100644 --- a/generate-routes.ts +++ b/generate-routes.ts @@ -168,8 +168,9 @@ const write = async (data: string, ...path: string[]): Promise => { } const routeRootPath = resolve('src', 'lib', 'seam', 'connect', 'routes') -const writeRoute = async (route: Route): Promise => - { await write(renderRoute(route), routeRootPath, `${route.namespace}.ts`); } +const writeRoute = async (route: Route): Promise => { + await write(renderRoute(route), routeRootPath, `${route.namespace}.ts`) +} const routes = [exampleRoute]