@heroku-cli/command
Advanced tools
Comparing version 8.1.15 to 8.1.16
@@ -0,1 +1,9 @@ | ||
<a name="8.1.16"></a> | ||
## [8.1.16](https://github.com/heroku/heroku-cli-command/compare/v8.1.15...v8.1.16) (2018-05-11) | ||
### Bug Fixes | ||
* use CLIError for git error ([0915f57](https://github.com/heroku/heroku-cli-command/commit/0915f57)) | ||
<a name="8.1.15"></a> | ||
@@ -2,0 +10,0 @@ ## [8.1.15](https://github.com/heroku/heroku-cli-command/compare/v8.1.14...v8.1.15) (2018-05-10) |
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const errors_1 = require("@oclif/errors"); | ||
class Git { | ||
@@ -23,3 +24,3 @@ get remotes() { | ||
if (error.code === 'ENOENT') { | ||
throw new Error('Git must be installed to use the Heroku CLI. See instructions here: http://git-scm.com'); | ||
throw new errors_1.CLIError('Git must be installed to use the Heroku CLI. See instructions here: http://git-scm.com'); | ||
} | ||
@@ -26,0 +27,0 @@ throw error; |
{ | ||
"name": "@heroku-cli/command", | ||
"description": "base class for Heroku CLI commands", | ||
"version": "8.1.15", | ||
"version": "8.1.16", | ||
"author": "Jeff Dickey @jdxcode", | ||
@@ -6,0 +6,0 @@ "bugs": "https://github.com/heroku/heroku-cli-command/issues", |
51996
1169