node-cloudflared-tunnel
Advanced tools
Comparing version 1.0.6 to 1.0.7
const childProcess = require("child_process"); | ||
const Process = require("process"); | ||
const commandExistsSync = require("command-exists").sync; | ||
@@ -38,2 +39,7 @@ | ||
start() { | ||
if (this.childProcess) { | ||
this.emitError("Already started"); | ||
return; | ||
} | ||
if (!this.checkInstalled()) { | ||
@@ -96,2 +102,3 @@ this.emitError(`Cloudflared error: ${this.cloudflaredPath} is not found`); | ||
this.childProcess.kill("SIGINT"); | ||
this.childProcess = null; | ||
} | ||
@@ -98,0 +105,0 @@ } |
{ | ||
"name": "node-cloudflared-tunnel", | ||
"version": "1.0.6", | ||
"version": "1.0.7", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "cloudflared-tunnel.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
7283
165