mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-21 22:47:48 +00:00
Merge pull request #190 from resin-io/jviotti/message/await
Improve device awaiting message
This commit is contained in:
commit
dc1e5e6512
@ -82,7 +82,7 @@
|
|||||||
|
|
||||||
exports.awaitDevice = function(uuid) {
|
exports.awaitDevice = function(uuid) {
|
||||||
var poll, spinner;
|
var poll, spinner;
|
||||||
spinner = new visuals.Spinner("Awaiting device: " + uuid);
|
spinner = new visuals.Spinner("Waiting for your device to come online: " + uuid);
|
||||||
poll = function() {
|
poll = function() {
|
||||||
return resin.models.device.isOnline(uuid).then(function(isOnline) {
|
return resin.models.device.isOnline(uuid).then(function(isOnline) {
|
||||||
if (isOnline) {
|
if (isOnline) {
|
||||||
|
@ -51,7 +51,7 @@ exports.selectProjectDirectory = ->
|
|||||||
default: projectsDirectory
|
default: projectsDirectory
|
||||||
|
|
||||||
exports.awaitDevice = (uuid) ->
|
exports.awaitDevice = (uuid) ->
|
||||||
spinner = new visuals.Spinner("Awaiting device: #{uuid}")
|
spinner = new visuals.Spinner("Waiting for your device to come online: #{uuid}")
|
||||||
|
|
||||||
poll = ->
|
poll = ->
|
||||||
resin.models.device.isOnline(uuid).then (isOnline) ->
|
resin.models.device.isOnline(uuid).then (isOnline) ->
|
||||||
|
Loading…
Reference in New Issue
Block a user