Changed Context.prototype.write() to call toString() instead

This commit is contained in:
Patrick Steele-Idem 2014-08-12 14:35:17 -06:00
parent 5010564b71
commit 3268f144a9

View File

@ -115,7 +115,7 @@ if (stream) {
Readable.prototype = {
write: function(data) {
if (data != null) {
this.push(data.toString());
this.push(data);
}
},
end: function() {