mirror of
https://github.com/balena-io/balena-cli.git
synced 2024-12-23 23:42:24 +00:00
Allow to quiet download progress bar
This commit is contained in:
parent
aa6680d57a
commit
9cb84ee612
@ -79,8 +79,8 @@ exports.download =
|
||||
received = 0
|
||||
|
||||
resin.models.os.download osParams, outputFile, callback, (state) ->
|
||||
return if options.quiet
|
||||
|
||||
# TODO: Allow quieting this progress bar
|
||||
bar ?= new ui.widgets.Progress('Downloading device OS', state.total)
|
||||
|
||||
return if bar.complete or not state?
|
||||
|
Loading…
Reference in New Issue
Block a user