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 #502 from learn-co/bring-back-decoding
Browse files Browse the repository at this point in the history
Remove decoding of terminal messages
  • Loading branch information
drewprice authored Jun 29, 2017
2 parents b1369b3 + 1d72836 commit 885501d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/terminal.js
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,8 @@ export default class Terminal {
return
}

this.emit('message', terminal)
var decoded = new Buffer(terminal, 'base64').toString()
this.emit('message', decoded)
})

this.socket.on('close', e => this.emit('close', e))
Expand Down

0 comments on commit 885501d

Please sign in to comment.