Navigation Menu

Skip to content

Commit

Permalink
bump version
Browse files Browse the repository at this point in the history
  • Loading branch information
song940 committed Nov 17, 2018
1 parent 554ccb6 commit 7d22d6b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/connection.js
Expand Up @@ -10,7 +10,7 @@ class Connection extends EventEmitter {
this.port = port;
this.address = address;
(function read(){
this.port.read((err, chunk) => {
this.isOpen() && this.port.read((err, chunk) => {
process.nextTick(read);
if(err) return this.emit('error', err);
this.emit('data', chunk);
Expand Down
2 changes: 1 addition & 1 deletion package.json
@@ -1,6 +1,6 @@
{
"name": "node-bluetooth",
"version": "1.2.3",
"version": "1.2.4",
"description": "Bluetooth serial port communication for Node.js",
"keywords": [
"bluetooth"
Expand Down

0 comments on commit 7d22d6b

Please sign in to comment.