@heroku-cli/command
Advanced tools
Comparing version 8.0.0-anycli.0 to 8.0.0-anycli.1
"use strict"; | ||
Object.defineProperty(exports, "__esModule", { value: true }); | ||
const command_1 = require("@anycli/command"); | ||
const errors_1 = require("@anycli/errors"); | ||
const completions_1 = require("../completions"); | ||
const git_1 = require("../git"); | ||
const vars_1 = require("../vars"); | ||
class MultipleRemotesError extends Error { | ||
class MultipleRemotesError extends errors_1.CLIError { | ||
constructor(gitRemotes) { | ||
@@ -40,3 +41,3 @@ super(`Multiple apps in git remotes | ||
if (flags.remote && gitRemotes.length === 0) { | ||
throw new Error(`remote ${flags.remote} not found in git remotes`); | ||
errors_1.error(`remote ${flags.remote} not found in git remotes`); | ||
} | ||
@@ -43,0 +44,0 @@ if (gitRemotes.length > 1 && options.required) { |
{ | ||
"name": "@heroku-cli/command", | ||
"description": "heroku specific functionality for the cli-engine", | ||
"version": "8.0.0-anycli.0", | ||
"version": "8.0.0-anycli.1", | ||
"author": "Jeff Dickey @jdxcode", | ||
"bugs": "https://github.com/heroku/cli-engine-heroku/issues", | ||
"dependencies": { | ||
"cli-ux": "^3.3.17", | ||
"cli-ux": "^3.3.18", | ||
"debug": "^3.1.0", | ||
@@ -15,4 +15,5 @@ "heroku-client": "3.0.6", | ||
"devDependencies": { | ||
"@anycli/command": "^1.2.8", | ||
"@anycli/config": "^1.3.4", | ||
"@anycli/command": "^1.2.10", | ||
"@anycli/config": "^1.3.10", | ||
"@anycli/errors": "^0.2.1", | ||
"@anycli/tslint": "^0.2.6", | ||
@@ -19,0 +20,0 @@ "@heroku-cli/tslint": "^1.1.4", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
30770
836
25
Updatedcli-ux@^3.3.18