diff options
author | (quasar) nebula <qznebula@protonmail.com> | 2024-07-25 17:04:32 -0300 |
---|---|---|
committer | (quasar) nebula <qznebula@protonmail.com> | 2024-07-25 17:04:32 -0300 |
commit | 948b6b446f413df1e1a8aa20dea854d89bd2d93b (patch) | |
tree | 8153476d0b1bd3102ec19a9f836732399d08c5b6 | |
parent | c06233c6e480b1966fa27c11c8b794055f9ec737 (diff) |
composite: conditionally call getStaticInputMetadata
Just a tiny cleanup, behavior is the same.
-rw-r--r-- | src/data/composite.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/data/composite.js b/src/data/composite.js index eb81bb4c..f31c4069 100644 --- a/src/data/composite.js +++ b/src/data/composite.js @@ -526,7 +526,10 @@ export function compositeFrom(description) { ? compositeFrom(step.toResolvedComposition()) : step)); - const inputMetadata = getStaticInputMetadata(description.inputMapping ?? {}); + const inputMetadata = + (description.inputMapping + ? getStaticInputMetadata(description.inputMapping) + : {}); function _mapDependenciesToOutputs(providedDependencies) { if (!description.outputs) { |