From 7b8c6ead1e3eada27b5dd20bd40ae6753aeecf28 Mon Sep 17 00:00:00 2001 From: drewprice Date: Tue, 27 Jun 2017 10:30:44 -0400 Subject: [PATCH] Remove decoding of terminal messages --- lib/terminal.js | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/terminal.js b/lib/terminal.js index 3489337..d1d72f0 100644 --- a/lib/terminal.js +++ b/lib/terminal.js @@ -41,10 +41,7 @@ export default class Terminal { return } - if (terminal == null) { return } - - var decoded = new Buffer(terminal, 'base64').toString(); - this.emit('message', decoded) + this.emit('message', terminal) }) this.socket.on('close', e => this.emit('close', e))