Skip to content

Commit

Permalink
Merge branch 'master' into pr/json-array
Browse files Browse the repository at this point in the history
  • Loading branch information
Jolg42 committed May 29, 2020
2 parents 0296582 + 58d0568 commit 77852ab
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion src/packages/generator-helper/src/GeneratorProcess.ts
Expand Up @@ -32,10 +32,14 @@ export class GeneratorProcess {
return this.initPromise
}
initSingleton(): Promise<void> {
return new Promise(async (resolve, reject) => {
return new Promise((resolve, reject) => {
try {
this.child = spawn(this.executablePath, {
stdio: ['pipe', 'inherit', 'pipe'],
env: {
...process.env,
PRISMA_GENERATOR_INVOCATION: 'true',
},
shell: true,
})

Expand Down

0 comments on commit 77852ab

Please sign in to comment.