mirror of
https://github.com/balena-io/balena-cli.git
synced 2025-01-19 03:06:29 +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.
|
All notable changes to this project will be documented in this file.
|
||||||
This project adheres to [Semantic Versioning](http://semver.org/).
|
This project adheres to [Semantic Versioning](http://semver.org/).
|
||||||
|
|
||||||
|
### Added
|
||||||
|
|
||||||
- Add Sentry error tracking
|
- 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
|
## [5.6.0] - 2017-03-23
|
||||||
|
|
||||||
### Added
|
### Added
|
||||||
|
@ -292,7 +292,7 @@ exports.init = {
|
|||||||
var download;
|
var download;
|
||||||
download = function() {
|
download = function() {
|
||||||
return tmp.tmpNameAsync().then(function(temporalPath) {
|
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) {
|
}).disposer(function(temporalPath) {
|
||||||
return rimraf(temporalPath);
|
return rimraf(temporalPath);
|
||||||
});
|
});
|
||||||
|
@ -393,7 +393,8 @@ exports.init =
|
|||||||
|
|
||||||
download = ->
|
download = ->
|
||||||
tmp.tmpNameAsync().then (temporalPath) ->
|
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) ->
|
.disposer (temporalPath) ->
|
||||||
return rimraf(temporalPath)
|
return rimraf(temporalPath)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user