From 3da704ab6dd156c4ee7785486d9d8a830a81aa5f Mon Sep 17 00:00:00 2001 From: eoin Date: Sat, 29 Mar 2014 21:15:45 +0100 Subject: [PATCH] Skip empty carrage returns on log data --- gameprocess.js | 1 + 1 file changed, 1 insertion(+) diff --git a/gameprocess.js b/gameprocess.js index 74a6c02..78eadd8 100644 --- a/gameprocess.js +++ b/gameprocess.js @@ -206,6 +206,7 @@ GameServer.prototype.installgamemode = function installgamemode(){ console.log(managerlocation); installer.stdout.on('data', function(data){ + if (data == "\r\n"){return} console.log(data); self.emit('console',data); });