bulltrackers-module 1.0.114 → 1.0.115
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.
|
@@ -684,6 +684,14 @@ async function runMetaComputation(
|
|
|
684
684
|
const calcName = normalizeName(manifestCalc.name);
|
|
685
685
|
const category = manifestCalc.category || 'unknown';
|
|
686
686
|
const CalcClass = manifestCalc.class;
|
|
687
|
+
|
|
688
|
+
// --- START FIX ---
|
|
689
|
+
// Set a default null result. This ensures that if the
|
|
690
|
+
// calculation is skipped (due to missing deps),
|
|
691
|
+
// its *own* dependents will see a 'null' value
|
|
692
|
+
// instead of a "Missing dependency" error.
|
|
693
|
+
passResults[calcName] = null;
|
|
694
|
+
// --- END FIX ---
|
|
687
695
|
|
|
688
696
|
if (typeof CalcClass !== 'function') {
|
|
689
697
|
logger.log('ERROR', `[${passName}] Invalid class in manifest for ${calcName}. Skipping.`);
|