mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-21 14:37:47 +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) {
|
||||
var poll, spinner;
|
||||
spinner = new visuals.Spinner("Awaiting device: " + uuid);
|
||||
spinner = new visuals.Spinner("Waiting for your device to come online: " + uuid);
|
||||
poll = function() {
|
||||
return resin.models.device.isOnline(uuid).then(function(isOnline) {
|
||||
if (isOnline) {
|
||||
|
@ -51,7 +51,7 @@ exports.selectProjectDirectory = ->
|
||||
default: projectsDirectory
|
||||
|
||||
exports.awaitDevice = (uuid) ->
|
||||
spinner = new visuals.Spinner("Awaiting device: #{uuid}")
|
||||
spinner = new visuals.Spinner("Waiting for your device to come online: #{uuid}")
|
||||
|
||||
poll = ->
|
||||
resin.models.device.isOnline(uuid).then (isOnline) ->
|
||||
|
Loading…
Reference in New Issue
Block a user