@prisma/generator-helper
Advanced tools
Comparing version 0.0.18 to 0.0.19
@@ -36,5 +36,2 @@ "use strict"; | ||
this.initialized = false; | ||
if (!fs_1.default.existsSync(executablePath)) { | ||
throw new Error(`Can't find executable ${executablePath}`); | ||
} | ||
} | ||
@@ -54,2 +51,3 @@ init() { | ||
stdio: ['pipe', 'inherit', 'pipe'], | ||
shell: true, | ||
}); | ||
@@ -56,0 +54,0 @@ this.child.on('exit', code => { |
{ | ||
"name": "@prisma/generator-helper", | ||
"version": "0.0.18", | ||
"version": "0.0.19", | ||
"main": "dist/index.js", | ||
@@ -5,0 +5,0 @@ "types": "dist/index.d.ts", |
@@ -27,7 +27,3 @@ import { ChildProcessByStdio, spawn } from 'child_process' | ||
private initialized: boolean = false | ||
constructor(private executablePath: string) { | ||
if (!fs.existsSync(executablePath)) { | ||
throw new Error(`Can't find executable ${executablePath}`) | ||
} | ||
} | ||
constructor(private executablePath: string) {} | ||
async init() { | ||
@@ -47,2 +43,3 @@ if (!this.initPromise) { | ||
stdio: ['pipe', 'inherit', 'pipe'], | ||
shell: true, | ||
}, | ||
@@ -49,0 +46,0 @@ ) |
Sorry, the diff of this file is not supported yet
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
255372
33
7398
2