@heroku-cli/command
Advanced tools
Comparing version 8.1.4 to 8.1.5
@@ -0,1 +1,9 @@ | ||
<a name="8.1.5"></a> | ||
## [8.1.5](https://github.com/heroku/heroku-cli-command/compare/v8.1.4...v8.1.5) (2018-05-08) | ||
### Bug Fixes | ||
* do not error out if cannot logout ([8978ad4](https://github.com/heroku/heroku-cli-command/commit/8978ad4)) | ||
<a name="8.1.4"></a> | ||
@@ -2,0 +10,0 @@ ## [8.1.4](https://github.com/heroku/heroku-cli-command/compare/v8.1.3...v8.1.4) (2018-05-08) |
@@ -54,4 +54,10 @@ "use strict"; | ||
await this.saveToken(auth); | ||
if (previousEntry) | ||
await this.logout(previousEntry.password); | ||
if (previousEntry) { | ||
try { | ||
await this.logout(previousEntry.password); | ||
} | ||
catch (err) { | ||
cli_ux_1.default.warn(err); | ||
} | ||
} | ||
} | ||
@@ -58,0 +64,0 @@ async logout(token = this.heroku.auth) { |
{ | ||
"name": "@heroku-cli/command", | ||
"description": "base class for Heroku CLI commands", | ||
"version": "8.1.4", | ||
"version": "8.1.5", | ||
"author": "Jeff Dickey @jdxcode", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/heroku/heroku-cli-command/issues", |
47520
1132