bulltrackers-module 1.0.322 → 1.0.323
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.
|
@@ -121,7 +121,8 @@ function analyzeDateExecution(dateStr, calcsInPass, rootDataStatus, dailyStatus,
|
|
|
121
121
|
}
|
|
122
122
|
|
|
123
123
|
if (missingDeps.length > 0) {
|
|
124
|
-
|
|
124
|
+
// Cast to string to solve some weird null bug
|
|
125
|
+
const isImpossible = missingDeps.some(d => String(simulationStatus[normalizeName(d)]?.hash).startsWith(STATUS_IMPOSSIBLE_PREFIX));
|
|
125
126
|
if (isImpossible) {
|
|
126
127
|
report.impossible.push({ name: cName, reason: 'Upstream Impossible' });
|
|
127
128
|
simulationStatus[cName] = { hash: `${STATUS_IMPOSSIBLE_PREFIX}:UPSTREAM` };
|