From ccae6bf783302be8a30e1169a5a6fb7ffae91648 Mon Sep 17 00:00:00 2001 From: Juan Cruz Viotti Date: Tue, 26 Apr 2016 12:30:06 -0400 Subject: [PATCH] Prefix robot progress state output with "progress" (#367) This makes it a bit easier to determine if a `stdout` line is a progress state or not, rather than checking for both `write` or `check`. Signed-off-by: Juan Cruz Viotti --- lib/cli/etcher.js | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/cli/etcher.js b/lib/cli/etcher.js index 47de5442..5ad4ff1c 100644 --- a/lib/cli/etcher.js +++ b/lib/cli/etcher.js @@ -63,6 +63,7 @@ form.run([ if (options.robot) { console.log([ + 'progress', state.type, Math.floor(state.percentage) + '%', state.eta + 's',