mirror of
https://github.com/balena-io/etcher.git
synced 2025-07-22 18:56:31 +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) {
|
if (options.robot) {
|
||||||
console.log([
|
console.log([
|
||||||
|
'progress',
|
||||||
state.type,
|
state.type,
|
||||||
Math.floor(state.percentage) + '%',
|
Math.floor(state.percentage) + '%',
|
||||||
state.eta + 's',
|
state.eta + 's',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user