diff --git a/package.json b/package.json index d029e518..bd6b409d 100644 --- a/package.json +++ b/package.json @@ -71,7 +71,7 @@ "yargs": "15.1.0" }, "optionalDependencies": { - "electron": "8.1.0", + "electron": "8.1.1", "electron-installer-debian": "3.0.0" }, "scripts": { diff --git a/tests/test.js b/tests/test.js index d0627e66..968e6855 100644 --- a/tests/test.js +++ b/tests/test.js @@ -47,7 +47,7 @@ setTimeout(()=>{ }, 5000) function end(fail){ - process.kill(-proc.pid) + proc.kill() fs.unlinkSync(sessionPath) process.exit(fail ? 1 : 0) }