From 7167e86a1cf9d7785fa011b710aaafb8069aaa2e Mon Sep 17 00:00:00 2001 From: Flavian DESVERNE Date: Mon, 11 Mar 2019 17:36:58 +0100 Subject: [PATCH] Fix prisma-client import --- packages/yoga/src/yogaDefaults.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/yoga/src/yogaDefaults.ts b/packages/yoga/src/yogaDefaults.ts index cff6409..5c8c52d 100644 --- a/packages/yoga/src/yogaDefaults.ts +++ b/packages/yoga/src/yogaDefaults.ts @@ -213,7 +213,7 @@ export function client( ): PrismaClientInput { if (input === undefined) { const clientPath = requiredPath( - join(projectDir, datamodelInfo.clientPath), + join(projectDir, datamodelInfo.clientPath, 'index.ts'), buildError(projectDir, datamodelInfo.clientPath, 'prisma.client'), )