Skip to content

Commit

Permalink
Don't test Serialport.list
Browse files Browse the repository at this point in the history
  • Loading branch information
rwaldron committed Jan 15, 2019
1 parent f5bf48a commit 9c2ab86
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions packages/firmata-io/lib/firmata.js
Original file line number Diff line number Diff line change
Expand Up @@ -2456,6 +2456,7 @@ class Firmata extends Emitter {
Transport.list((error, ports) => {
const port = ports.find(port => Firmata.isAcceptablePort(port) && port);

/* istanbul ignore if */
if (error) {
callback(error, null);
} else {
Expand Down

0 comments on commit 9c2ab86

Please sign in to comment.