http-shutdown
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -53,3 +53,3 @@ 'use strict'; | ||
if (cb) { | ||
process.nextTick(function() { cb(err) }); | ||
process.nextTick(function() { cb(err); }); | ||
} | ||
@@ -56,0 +56,0 @@ }); |
{ | ||
"name": "http-shutdown", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Gracefully shutdown a running HTTP server.", | ||
"main": "index.js", | ||
"types": "index.d.ts", | ||
"scripts": { | ||
@@ -7,0 +8,0 @@ "test": "mocha", |
9333
125