From 6f89efa40b20f209545d8d210df4f27bdb44b778 Mon Sep 17 00:00:00 2001 From: Stephen McLaughlin <44235289+Steve-Mcl@users.noreply.github.com> Date: Tue, 19 Apr 2022 10:30:08 +0100 Subject: [PATCH] remove unused if block Co-authored-by: Nick O'Leary --- .../node_modules/@node-red/nodes/core/network/22-websocket.js | 2 -- 1 file changed, 2 deletions(-) diff --git a/packages/node_modules/@node-red/nodes/core/network/22-websocket.js b/packages/node_modules/@node-red/nodes/core/network/22-websocket.js index 9fa991254..08f9884c2 100644 --- a/packages/node_modules/@node-red/nodes/core/network/22-websocket.js +++ b/packages/node_modules/@node-red/nodes/core/network/22-websocket.js @@ -236,8 +236,6 @@ module.exports = function(RED) { return done(); } closeMonitorCount--; - if(closeMonitorCount <= 0) { - } }, closeMonitorInterval); } });