From 7cb8ac9e35ed08a837b457bcba0fb2c99b033b68 Mon Sep 17 00:00:00 2001 From: Jonathan Rainville Date: Fri, 10 Aug 2018 11:12:45 -0400 Subject: [PATCH] put as one line --- lib/modules/console_listener/index.js | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lib/modules/console_listener/index.js b/lib/modules/console_listener/index.js index a85fee11..2d330c9f 100644 --- a/lib/modules/console_listener/index.js +++ b/lib/modules/console_listener/index.js @@ -111,8 +111,7 @@ class ConsoleListener { apiRoute, (ws, _req) => { this.events.on('contracts:log', function(log) { - ws.send(JSON.stringify(log), () => { - }); + ws.send(JSON.stringify(log), () => {}); }); } );