@elyx-code/project-logic-tree 0.0.6444 → 0.0.6445

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.
package/dist/index.js CHANGED
@@ -98705,17 +98705,7 @@ function ao(d) {
98705
98705
  d.parent.parent.type
98706
98706
  ) || !((E = d.parent.parent.implements) != null && E.outputs.length))
98707
98707
  )), u;
98708
- if (mt.includes(d.type) && d.internalCalls.some(
98709
- (b) => !!b.calledBy.length
98710
- ))
98711
- return d.id === "a52797ac-b77d-4c2e-affa-d0cdaa91c6eb" && console.log(
98712
- "validateCallableEntityShouldCallReturnStatement - is variable with internal calls"
98713
- ), u;
98714
- if (d.type === f.InternalCall && d.parent.calledBy.length)
98715
- return d.id === "a52797ac-b77d-4c2e-affa-d0cdaa91c6eb" && console.log(
98716
- "validateCallableEntityShouldCallReturnStatement - internal call is not used"
98717
- ), u;
98718
- if (!d.successCalls.length && !d.errorCalls.length) {
98708
+ if (!d.successCalls.length && !d.errorCalls.length && d.calledBy.length) {
98719
98709
  d.id === "a52797ac-b77d-4c2e-affa-d0cdaa91c6eb" && console.log(
98720
98710
  "validateCallableEntityShouldCallReturnStatement - not called by success or error"
98721
98711
  );