graceful-terminate
Advanced tools
Comparing version 0.0.6 to 0.0.7
@@ -26,3 +26,3 @@ 'use strict'; | ||
* add adds a new function to be called when an interrupt is received. | ||
* @param f function the function to add. If f returns true, shutdown will be prevented | ||
* @param {f} function the function to add. If f returns true, shutdown will be prevented | ||
* and any other functions remaining in the chain will not be executed. | ||
@@ -34,4 +34,4 @@ */ | ||
function handle(){ | ||
if (!runFunctions()){ | ||
function handle() { | ||
if (!runFunctions()) { | ||
process.exit() | ||
@@ -38,0 +38,0 @@ } |
{ | ||
"name": "graceful-terminate", | ||
"version": "0.0.6", | ||
"version": "0.0.7", | ||
"description": "Gracefully shutdown your node app.", | ||
@@ -5,0 +5,0 @@ "main": "graceful.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
3521