bulltrackers-module 1.0.110 → 1.0.111
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -539,9 +539,11 @@ async function runUnifiedComputation(dateToProcess, calculationsToRun, passName,
|
|
|
539
539
|
try {
|
|
540
540
|
const result = await Promise.resolve(calc.getResult());
|
|
541
541
|
|
|
542
|
-
|
|
543
|
-
|
|
544
|
-
|
|
542
|
+
// --- THIS IS THE FIX ---
|
|
543
|
+
// We MUST cache the result, even if it is null,
|
|
544
|
+
// so that downstream calculations know it ran.
|
|
545
|
+
passResults[calcName] = result;
|
|
546
|
+
// --- END FIX ---
|
|
545
547
|
|
|
546
548
|
const pendingWrites = [];
|
|
547
549
|
const summaryData = {};
|