Merge pull request #459 from resin-io/fix-unneeded-warning

Fix unneeded warning
This commit is contained in:
Eugene Mirotin 2017-03-23 15:51:13 +03:00 committed by GitHub
commit 169609620a
3 changed files with 10 additions and 2 deletions

View File

@ -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

View File

@ -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);
});

View File

@ -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)