Skip to content

Commit

Permalink
Moved constructor push out of loop
Browse files Browse the repository at this point in the history
  • Loading branch information
markwpearce committed Apr 7, 2022
1 parent e9e6f49 commit 0e1ae20
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion scripts/scrape-roku-docs.ts
Original file line number Diff line number Diff line change
Expand Up @@ -219,8 +219,9 @@ class ComponentListBuilder {
type: paramType ?? 'dynamic',
description: undefined
});
component.constructors.push(signature);

}
component.constructors.push(signature);
}
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/roku-types/data.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"generatedDate": "2022-04-07T01:57:08.868Z",
"generatedDate": "2022-04-07T02:19:24.252Z",
"nodes": {
"node": {
"name": "Node",
Expand Down

0 comments on commit 0e1ae20

Please sign in to comment.