Skip to content

Commit

Permalink
Skip empty carrage returns on log data
Browse files Browse the repository at this point in the history
  • Loading branch information
cookednoodles committed Mar 29, 2014
1 parent c1fb132 commit 3da704a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions gameprocess.js
Original file line number Diff line number Diff line change
Expand Up @@ -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);
});
Expand Down

0 comments on commit 3da704a

Please sign in to comment.