From fb18e7f3f9005227f1c72bcd6527b864d5c059e3 Mon Sep 17 00:00:00 2001 From: Alex Clavelle Date: Thu, 4 Feb 2016 21:48:08 -0600 Subject: [PATCH] remove semicolons --- index.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/index.js b/index.js index 8d9989d..e9cb374 100644 --- a/index.js +++ b/index.js @@ -20,8 +20,8 @@ module.exports = class Realtime extends Trailpack { initialize () { return new Promise((res,rej)=>{ this.app.once('webserver:http:ready',(httpServer)=>{ - this.app.sockets = new Primus(httpServer,primusDefaults); - res(); + this.app.sockets = new Primus(httpServer,primusDefaults) + res() }) }) }