Auto-merge for PR #910 via VersionBot

Make local commands more resilient to unnamed containers
This commit is contained in:
resin-io-versionbot[bot] 2018-06-28 16:26:11 +00:00 committed by GitHub
commit af9e1a122d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 6 additions and 2 deletions

View File

@ -4,6 +4,10 @@ All notable changes to this project will be documented in this file
automatically by Versionist. DO NOT EDIT THIS FILE MANUALLY!
This project adheres to [Semantic Versioning](http://semver.org/).
## v7.6.2 - 2018-06-28
* Make local commands more resilient to unnamed containers #910 [Tim Perry]
## v7.6.1 - 2018-06-26
* Make sure 'resin push' is included in the docs #907 [Tim Perry]

View File

@ -30,7 +30,7 @@ exports.selectContainerFromDevice = Promise.method (deviceIp, filterSupervisor =
message: 'Select a container'
type: 'list'
choices: _.map containers, (container) ->
containerName = container.Names[0] or 'Untitled'
containerName = container.Names?[0] or 'Untitled'
shortContainerId = ('' + container.Id).substr(0, 11)
return {

View File

@ -1,6 +1,6 @@
{
"name": "resin-cli",
"version": "7.6.1",
"version": "7.6.2",
"description": "The official resin.io CLI tool",
"main": "./build/actions/index.js",
"homepage": "https://github.com/resin-io/resin-cli",