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

Commit 0203039

Browse files
authored
Merge pull request #501 from learn-co/no-decode
Remove decoding of terminal messages
2 parents 0328e60 + 7b8c6ea commit 0203039

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

lib/terminal.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -41,10 +41,7 @@ export default class Terminal {
4141
return
4242
}
4343

44-
if (terminal == null) { return }
45-
46-
var decoded = new Buffer(terminal, 'base64').toString();
47-
this.emit('message', decoded)
44+
this.emit('message', terminal)
4845
})
4946

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

0 commit comments

Comments
 (0)