Skip to content

Commit

Permalink
Update packages/td-tools/src/util/asset-interface-description.ts
Browse files Browse the repository at this point in the history
Co-authored-by: Cristiano Aguzzi <[email protected]>
  • Loading branch information
danielpeintner and relu91 authored Sep 21, 2023
1 parent 3e65aa0 commit f10a4a0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/td-tools/src/util/asset-interface-description.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit f10a4a0

Please sign in to comment.