monk-middleware-handle-callback
Advanced tools
Comparing version
@@ -13,3 +13,4 @@ function thenFn (fn) { | ||
if (fn && typeof fn === 'function') { | ||
return fn(err) // do not throw if there is a callback | ||
fn(err) // do not throw if there is a callback | ||
return | ||
} | ||
@@ -16,0 +17,0 @@ throw err |
{ | ||
"name": "monk-middleware-handle-callback", | ||
"description": "A monk middleware to handle callback", | ||
"version": "0.2.0", | ||
"version": "0.2.1", | ||
"main": "index.js", | ||
@@ -6,0 +6,0 @@ "keywords": [ |
870
0.69%24
4.35%