mirror of
https://github.com/balena-io/etcher.git
synced 2025-04-24 07:17:18 +00:00
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 <jviottidc@gmail.com>
This commit is contained in:
parent
1dbe707700
commit
ccae6bf783
@ -63,6 +63,7 @@ form.run([
|
||||
|
||||
if (options.robot) {
|
||||
console.log([
|
||||
'progress',
|
||||
state.type,
|
||||
Math.floor(state.percentage) + '%',
|
||||
state.eta + 's',
|
||||
|
Loading…
x
Reference in New Issue
Block a user