mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-01-18 18:56:25 +00:00
Merge pull request #459 from resin-io/fix-unneeded-warning
Fix unneeded warning
This commit is contained in:
commit
169609620a
@ -3,8 +3,15 @@
|
||||
All notable changes to this project will be documented in this file.
|
||||
This project adheres to [Semantic Versioning](http://semver.org/).
|
||||
|
||||
### Added
|
||||
|
||||
- Add Sentry error tracking
|
||||
|
||||
### Fixed
|
||||
|
||||
- The unneeded warning about the default OS version download from the `device init` command.
|
||||
- Changed the help references from gitter to forums.
|
||||
|
||||
## [5.6.0] - 2017-03-23
|
||||
|
||||
### Added
|
||||
|
@ -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…
Reference in New Issue
Block a user