Skip to content

Commit

Permalink
fix lint
Browse files Browse the repository at this point in the history
  • Loading branch information
patricklx authored Dec 12, 2023
1 parent d756e41 commit a2f7c4c
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions ember_debug/libs/render-tree.js
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,11 @@ class InElementSupportProvider {
registerRemote(block, node) {
const obj = this.buildInElementNode(node);
if (this.currentNode) {
if (!this.currentNode.remotes) Object.defineProperty(this.currentNode, 'remotes', {
value: []
});
if (!this.currentNode.remotes) {
Object.defineProperty(this.currentNode, 'remotes', {
value: [],
});
}
this.currentNode.remotes.push(obj);
}
this.remoteRoots.push(obj);
Expand Down

0 comments on commit a2f7c4c

Please sign in to comment.