Skip to content

Commit

Permalink
Merge pull request #374 from tessel/jon-sad-updates
Browse files Browse the repository at this point in the history
Refuse to update over USB because it's definitely broken right now
  • Loading branch information
johnnyman727 committed Oct 14, 2015
2 parents dac8975 + 07df8ba commit 35729e9
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');
}

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

0 comments on commit 35729e9

Please sign in to comment.