From bee523828aaf0b90dc81de850624730d48267efa Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Mon, 25 Jan 2016 08:59:09 -0400 Subject: [PATCH] Improve awaitDevice success message --- build/utils/patterns.js | 2 +- lib/utils/patterns.coffee | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/build/utils/patterns.js b/build/utils/patterns.js index 36141962..46a10bb5 100644 --- a/build/utils/patterns.js +++ b/build/utils/patterns.js @@ -176,7 +176,7 @@ limitations under the License. return resin.models.device.isOnline(uuid).then(function(isOnline) { if (isOnline) { spinner.stop(); - console.info("Device became online: " + deviceName); + console.info("The device **" + deviceName + "** is online!"); } else { spinner.start(); return Promise.delay(3000).then(poll); diff --git a/lib/utils/patterns.coffee b/lib/utils/patterns.coffee index ace9c491..d9592aea 100644 --- a/lib/utils/patterns.coffee +++ b/lib/utils/patterns.coffee @@ -135,7 +135,7 @@ exports.awaitDevice = (uuid) -> resin.models.device.isOnline(uuid).then (isOnline) -> if isOnline spinner.stop() - console.info("Device became online: #{deviceName}") + console.info("The device **#{deviceName}** is online!") return else