Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

fix the callback on list. callback was on the wrong function

  • Loading branch information...
commit ba90601d612dc408f021e7afa2c47a070943fea0 1 parent ce51f4d
@joeferner joeferner authored
Showing with 2 additions and 2 deletions.
  1. +2 −2 serialport.js
View
4 serialport.js
@@ -211,7 +211,7 @@ function listUnix (callback) {
manufacturer: undefined,
pnpId: file
});
- }, callback);
+ });
// Suspect code per ticket: #104 removed for deeper inspection.
// fs.readdir("/dev/serial/by-path", function(err_path, paths) {
// if (err_path) {
@@ -243,7 +243,7 @@ function listUnix (callback) {
// });
// });
// }, callback);
- });
+ }, callback);
});
}
Please sign in to comment.
Something went wrong with that request. Please try again.