Skip to content

Commit

Permalink
Refuse to update over USB because it's definitely broken right now
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnyman727 committed Oct 14, 2015
1 parent dac8975 commit 07df8ba
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -643,8 +643,8 @@ controller.update = function(opts) {

// // If this Tessel isn't connected to the LAN
if (!tessel.lanConnection || !tessel.lanConnection.authorized) {
// Warn the user that it's going to take a while
logs.warn('Warning: Authorized LAN connection not detected for this Tessel. For a faster update, cancel and connect Tessel to LAN with the `t2 wifi` command before update.');
// Reject because USB updates are broken...
return reject('No LAN connection found. USB-only updates do not work yet. Please ensure Tessel is connected to wifi and try again');

This comment has been minimized.

Copy link
@rwaldron

rwaldron Oct 16, 2015

Contributor

This breaks the unit tests, test/unit/update.js hangs.

This comment has been minimized.

Copy link
@rwaldron

rwaldron Oct 16, 2015

Contributor

Fixed on master

}

return updates.requestBuildList().then(function(builds) {
Expand Down

0 comments on commit 07df8ba

Please sign in to comment.