Skip to content

Commit

Permalink
fixup! chore: add guard-for-in eslint rule
Browse files Browse the repository at this point in the history
  • Loading branch information
JKRhb committed Jul 10, 2024
1 parent a9d2079 commit c6a1f47
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions packages/td-tools/src/td-parser.ts
Original file line number Diff line number Diff line change
Expand Up @@ -241,9 +241,9 @@ export function serializeTD(thing: Thing): string {
} else if (copy.properties != null) {
// add mandatory fields (if missing): observable, writeOnly, and readOnly
for (const prop of Object.values(copy.properties)) {
adjustBooleanField(prop, "readOnly")
adjustBooleanField(prop, "writeOnly")
adjustBooleanField(prop, "observable")
adjustBooleanField(prop, "readOnly");
adjustBooleanField(prop, "writeOnly");
adjustBooleanField(prop, "observable");
}
}

Expand Down

0 comments on commit c6a1f47

Please sign in to comment.