diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2023-10-02 19:03:53 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2023-10-02 19:04:14 -0300 |
commit | 83892033efd40cb4baebe10718930d856b56254d (patch) | |
tree | af004ed8904f637b87d07e70899bcad490a092fb /src/data/composite | |
parent | 9694750ef41c420b0fd419b230d79d5ed1149a76 (diff) |
data: raiseOutputWithout{..}: don't fail w/ default output
Diffstat (limited to 'src/data/composite')
-rw-r--r-- | src/data/composite/control-flow/raiseOutputWithoutDependency.js | 2 | ||||
-rw-r--r-- | src/data/composite/control-flow/raiseOutputWithoutUpdateValue.js | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/data/composite/control-flow/raiseOutputWithoutDependency.js b/src/data/composite/control-flow/raiseOutputWithoutDependency.js index 03d8036a..3d04f8a9 100644 --- a/src/data/composite/control-flow/raiseOutputWithoutDependency.js +++ b/src/data/composite/control-flow/raiseOutputWithoutDependency.js @@ -17,7 +17,7 @@ export default templateCompositeFrom({ outputs: ({ [input.staticValue('output')]: output, - }) => Object.keys(output), + }) => Object.keys(output ?? {}), steps: () => [ withResultOfAvailabilityCheck({ diff --git a/src/data/composite/control-flow/raiseOutputWithoutUpdateValue.js b/src/data/composite/control-flow/raiseOutputWithoutUpdateValue.js index 3c39f5ba..ffa83a94 100644 --- a/src/data/composite/control-flow/raiseOutputWithoutUpdateValue.js +++ b/src/data/composite/control-flow/raiseOutputWithoutUpdateValue.js @@ -16,7 +16,7 @@ export default templateCompositeFrom({ outputs: ({ [input.staticValue('output')]: output, - }) => Object.keys(output), + }) => Object.keys(output ?? {}), steps: () => [ withResultOfAvailabilityCheck({ |