Auto-merge for PR #730 via VersionBot

Ensure logout works even with invalid credentials, or if not logged in
This commit is contained in:
resin-io-versionbot[bot] 2017-12-15 17:52:38 +00:00 committed by GitHub
commit d199cdf088
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
3 changed files with 5 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/).
## v6.10.3 - 2017-12-15
* Ensure logout works even with invalid credentials, or if not logged in #730 [Tim Perry]
## v6.10.2 - 2017-11-27
* Inline the entire resin-cli-auth module #721 [Tim Perry]

View File

@ -130,7 +130,6 @@ exports.logout =
$ resin logout
'''
permission: 'user'
action: (params, options, done) ->
resin = require('resin-sdk-preconfigured')
resin.auth.logout().nodeify(done)

View File

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