filegrc 0.14.0 → 0.15.0

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.
@@ -224,7 +224,11 @@ export async function validateWorkflowHistoryIntegrity(loaded, diagnostics) {
224
224
  }
225
225
  }
226
226
  }
227
- if (!sameJson(first.record.effectiveOn, entry.record.effectiveOn)) {
227
+ if (
228
+ Array.isArray(first.record.reportingRouteRequirements)
229
+ && first.record.reportingRouteRequirements.length
230
+ && !sameJson(first.record.effectiveOn, entry.record.effectiveOn)
231
+ ) {
228
232
  diagnostics.push(integrityError(
229
233
  entry,
230
234
  `${entry.record.type} "${entry.record.id}" changed the effective date governing its structured Reporting Route requirements. Preserve the original interval and create a successor decision.`