Improve awaitDevice success message

This commit is contained in:
Juan Cruz Viotti 2016-01-25 08:59:09 -04:00
parent 474635401a
commit bee523828a
2 changed files with 2 additions and 2 deletions

View File

@ -176,7 +176,7 @@ limitations under the License.
return resin.models.device.isOnline(uuid).then(function(isOnline) { return resin.models.device.isOnline(uuid).then(function(isOnline) {
if (isOnline) { if (isOnline) {
spinner.stop(); spinner.stop();
console.info("Device became online: " + deviceName); console.info("The device **" + deviceName + "** is online!");
} else { } else {
spinner.start(); spinner.start();
return Promise.delay(3000).then(poll); return Promise.delay(3000).then(poll);

View File

@ -135,7 +135,7 @@ exports.awaitDevice = (uuid) ->
resin.models.device.isOnline(uuid).then (isOnline) -> resin.models.device.isOnline(uuid).then (isOnline) ->
if isOnline if isOnline
spinner.stop() spinner.stop()
console.info("Device became online: #{deviceName}") console.info("The device **#{deviceName}** is online!")
return return
else else