Skip to content

Commit

Permalink
fix: Replace \ -> /
Browse files Browse the repository at this point in the history
  • Loading branch information
William Luke committed Apr 30, 2019
1 parent 7359524 commit 6802dce
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 = join(projectDir, normalize(datamodelInfo.clientPath), 'index.ts')
const defaultPath = join(projectDir, datamodelInfo.clientPath.replace(/\\/g, "/"), 'index.ts')
logger.info(`Looking for Prisma Client in ${defaultPath}`)
const clientPath = requiredPath(
defaultPath,
Expand Down

0 comments on commit 6802dce

Please sign in to comment.