From f10a4a08af1c75fabeb9d43097a9a184a3f59829 Mon Sep 17 00:00:00 2001 From: danielpeintner Date: Thu, 21 Sep 2023 10:43:18 +0200 Subject: [PATCH] Update packages/td-tools/src/util/asset-interface-description.ts Co-authored-by: Cristiano Aguzzi --- packages/td-tools/src/util/asset-interface-description.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/td-tools/src/util/asset-interface-description.ts b/packages/td-tools/src/util/asset-interface-description.ts index b76a09097..aa8de371f 100644 --- a/packages/td-tools/src/util/asset-interface-description.ts +++ b/packages/td-tools/src/util/asset-interface-description.ts @@ -449,7 +449,7 @@ export class AssetInterfaceDescriptionUtil { if (smValue instanceof Object) { if (smValue.idShort === "InterfaceMetadata") { logInfo("InterfaceMetadata"); - if (smValue.value != null && smValue.value instanceof Array) { + if (smValue.value instanceof Array) { for (const interactionValue of smValue.value) { if (interactionValue.idShort === "Properties") { if (interactionValue.value instanceof Array) {