mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-02-21 01:42:26 +00:00
suppress warning during the device init OS download
This commit is contained in:
parent
69dff0c603
commit
cba105a41b
@ -292,7 +292,7 @@ exports.init = {
|
||||
var download;
|
||||
download = function() {
|
||||
return tmp.tmpNameAsync().then(function(temporalPath) {
|
||||
return capitano.runAsync("os download " + application.device_type + " --output " + temporalPath);
|
||||
return capitano.runAsync("os download " + application.device_type + " --output " + temporalPath + " --version default");
|
||||
}).disposer(function(temporalPath) {
|
||||
return rimraf(temporalPath);
|
||||
});
|
||||
|
@ -393,7 +393,8 @@ exports.init =
|
||||
|
||||
download = ->
|
||||
tmp.tmpNameAsync().then (temporalPath) ->
|
||||
capitano.runAsync("os download #{application.device_type} --output #{temporalPath}")
|
||||
# TODO: allow version selection
|
||||
capitano.runAsync("os download #{application.device_type} --output #{temporalPath} --version default")
|
||||
.disposer (temporalPath) ->
|
||||
return rimraf(temporalPath)
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user