From a2f7c4c6e7d1d571306beea88f0b4cfc6d64f123 Mon Sep 17 00:00:00 2001 From: Patrick Pircher Date: Tue, 12 Dec 2023 14:35:05 +0100 Subject: [PATCH] fix lint --- ember_debug/libs/render-tree.js | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/ember_debug/libs/render-tree.js b/ember_debug/libs/render-tree.js index bdfc3d5d41..e3a9659a81 100644 --- a/ember_debug/libs/render-tree.js +++ b/ember_debug/libs/render-tree.js @@ -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);