diff --git a/src/yogaDefaults.ts b/src/yogaDefaults.ts index ef18cd6..accd245 100644 --- a/src/yogaDefaults.ts +++ b/src/yogaDefaults.ts @@ -217,7 +217,7 @@ export function client( ): PrismaClientInput { if (input === undefined) { logger.warn("No Prisma Client Input found trying to resolve path") - const defaultPath = normalize(join(projectDir, datamodelInfo.clientPath, 'index.ts')) + const defaultPath = join(projectDir, normalize(datamodelInfo.clientPath), 'index.ts') logger.info(`Looking for Prisma Client in ${defaultPath}`) const clientPath = requiredPath( defaultPath,