From 948b6b446f413df1e1a8aa20dea854d89bd2d93b Mon Sep 17 00:00:00 2001 From: "(quasar) nebula" Date: Thu, 25 Jul 2024 17:04:32 -0300 Subject: composite: conditionally call getStaticInputMetadata Just a tiny cleanup, behavior is the same. --- src/data/composite.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'src/data') 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) { -- cgit 1.3.0-6-gf8a5