Skip to content

Commit

Permalink
fix: Normalize clientPath
Browse files Browse the repository at this point in the history
  • Loading branch information
William Luke committed Apr 30, 2019
1 parent 0bb6ed9 commit 7359524
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/yogaDefaults.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 7359524

Please sign in to comment.