Skip to content

Commit

Permalink
fixes some whitespace mods
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyman727 committed Nov 24, 2015
1 parent 8887dfe commit 08ab6b1
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
2 changes: 1 addition & 1 deletion bin/tessel-2.js
Original file line number Diff line number Diff line change
Expand Up @@ -363,4 +363,4 @@ if (require.main === module) {

if (global.IS_TEST_ENV) {
module.exports.makeCommand = makeCommand;
}
}
3 changes: 1 addition & 2 deletions lib/usb_connection.js
Original file line number Diff line number Diff line change
Expand Up @@ -333,9 +333,8 @@ USB.Scanner.prototype.start = function() {
var self = this;
if (haveusb) {
usb.getDeviceList().forEach(deviceInspector);

usb.on('attach', deviceInspector);
} else {
logs.warn('Skipping USB discovery (No USB controller).');
}

function deviceInspector(device) {
Expand Down

0 comments on commit 08ab6b1

Please sign in to comment.