clean-scripts
Advanced tools
Comparing version 1.9.0 to 1.9.1
@@ -45,8 +45,2 @@ "use strict"; | ||
function cleanup() { | ||
for (const subProcess of subProcesses) { | ||
subProcess.kill('SIGINT'); | ||
if (process.platform === 'win32') { | ||
childProcess.execSync(`taskkill -F -T -PID ${subProcess.pid}`); | ||
} | ||
} | ||
if (process.platform === 'darwin' || process.platform === 'linux') { | ||
@@ -64,2 +58,8 @@ const stdout = childProcess.execSync('ps -l').toString(); | ||
} | ||
for (const subProcess of subProcesses) { | ||
subProcess.kill('SIGINT'); | ||
if (process.platform === 'win32') { | ||
childProcess.execSync(`taskkill -F -T -PID ${subProcess.pid}`); | ||
} | ||
} | ||
} | ||
@@ -66,0 +66,0 @@ executeCommandLine().then(() => { |
{ | ||
"name": "clean-scripts", | ||
"version": "1.9.0", | ||
"version": "1.9.1", | ||
"description": "A CLI tool to make scripts in package.json clean.", | ||
@@ -5,0 +5,0 @@ "main": "dist/core.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