Skip to content

Commit 948b6b4

Browse files
committed
composite: conditionally call getStaticInputMetadata
Just a tiny cleanup, behavior is the same.
1 parent c06233c commit 948b6b4

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

src/data/composite.js

+4-1
Original file line numberDiff line numberDiff line change
@@ -526,7 +526,10 @@ export function compositeFrom(description) {
526526
? compositeFrom(step.toResolvedComposition())
527527
: step));
528528

529-
const inputMetadata = getStaticInputMetadata(description.inputMapping ?? {});
529+
const inputMetadata =
530+
(description.inputMapping
531+
? getStaticInputMetadata(description.inputMapping)
532+
: {});
530533

531534
function _mapDependenciesToOutputs(providedDependencies) {
532535
if (!description.outputs) {

0 commit comments

Comments
 (0)