Skip to content
This repository has been archived by the owner on Jan 10, 2023. It is now read-only.

Commit

Permalink
Merge pull request #501 from learn-co/no-decode
Browse files Browse the repository at this point in the history
Remove decoding of terminal messages
  • Loading branch information
drewprice authored Jun 27, 2017
2 parents 0328e60 + 7b8c6ea commit 0203039
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions lib/terminal.js
Original file line number Diff line number Diff line change
Expand Up @@ -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))
Expand Down

0 comments on commit 0203039

Please sign in to comment.