@prisma/generator-helper
Advanced tools
Comparing version 0.0.11 to 0.0.12
@@ -49,3 +49,3 @@ "use strict"; | ||
return new Promise((resolve, reject) => { | ||
this.child = child_process_1.spawn(process.execPath, [this.executablePath], { | ||
this.child = child_process_1.spawn(process.execPath, ['--max-old-space-size=2048', this.executablePath], { | ||
stdio: ['pipe', 'inherit', 'pipe'], | ||
@@ -52,0 +52,0 @@ }); |
{ | ||
"name": "@prisma/generator-helper", | ||
"version": "0.0.11", | ||
"version": "0.0.12", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
@@ -40,5 +40,9 @@ import { ChildProcessByStdio, spawn } from 'child_process' | ||
return new Promise((resolve, reject) => { | ||
this.child = spawn(process.execPath, [this.executablePath], { | ||
stdio: ['pipe', 'inherit', 'pipe'], | ||
}) | ||
this.child = spawn( | ||
process.execPath, | ||
['--max-old-space-size=2048', this.executablePath], | ||
{ | ||
stdio: ['pipe', 'inherit', 'pipe'], | ||
}, | ||
) | ||
@@ -45,0 +49,0 @@ this.child.on('exit', code => { |
Sorry, the diff of this file is not supported yet
57369
1361