Skip to content

Commit

Permalink
fix(vercel): break up the nft inclusion of Prisma CLI (#1089)
Browse files Browse the repository at this point in the history
  • Loading branch information
janpio authored May 21, 2021
1 parent 583929e commit d2fedb0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/builder.ts
Original file line number Diff line number Diff line change
Expand Up @@ -191,7 +191,7 @@ let defaultClientPath: string
if (process.env.NEXUS_PRISMA_CLIENT_PATH) {
defaultClientPath = process.env.NEXUS_PRISMA_CLIENT_PATH
} else if (process.env.LINK) {
defaultClientPath = path.join(process.cwd(), '/node_modules/@prisma/client')
defaultClientPath = eval("path.join(process.cwd(), '/node_modules/@prisma/client')")
} else {
defaultClientPath = '@prisma/client'
}
Expand Down

0 comments on commit d2fedb0

Please sign in to comment.