We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 18b405f commit 7bbcb56Copy full SHA for 7bbcb56
index.js
@@ -20,7 +20,7 @@ function Connection(port, address){
20
this.address = address;
21
this.port.on('data', function(buffer){
22
if(buffer.length > 0){
23
- this.port.read(function(err, data){
+ self.port.read(function(err, data){
24
if(err) return self.emit('error', err);
25
self.emit('data', data);
26
});
0 commit comments