Skip to content

Commit

Permalink
fix env var injection
Browse files Browse the repository at this point in the history
  • Loading branch information
timsuchanek committed Dec 20, 2019
1 parent aaf0128 commit f452c59
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion cli/sdk/src/IntrospectionEngine.ts
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,8 @@ export class IntrospectionEngine {
cwd: process.cwd(),
},
) {
this.binaryPath = binaryPath
this.binaryPath =
binaryPath || process.env.PRISMA_INTROSPECTION_ENGINE_BINARY
if (debug) {
debugLib.enable('IntrospectionEngine*')
}
Expand Down

0 comments on commit f452c59

Please sign in to comment.