arch-orchestrator
Advanced tools
Comparing version 1.4.3 to 1.4.5
@@ -77,3 +77,3 @@ 'use strict'; | ||
var res = fn.apply(fn, args); | ||
if (res.then) { | ||
if (res && res.then) { | ||
return res.then(function (_res) { | ||
@@ -198,2 +198,7 @@ return downstreamResult.call(orchestrator, _res, next, metadata); | ||
// case when function chain is empty | ||
if (!fn) { | ||
return next; | ||
} | ||
// until end of chain is not reached | ||
@@ -200,0 +205,0 @@ while (true) { |
{ | ||
"name": "arch-orchestrator", | ||
"version": "1.4.3", | ||
"version": "1.4.5", | ||
"description": "Orchestrator for large node.js applications", | ||
@@ -5,0 +5,0 @@ "main": "index.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
26558
696