Skip to content

Commit

Permalink
fix: test and linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
k80bowman committed May 24, 2024
1 parent 1786400 commit 56f4de8
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 9 deletions.
3 changes: 1 addition & 2 deletions packages/cli/src/commands/addons/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,8 +223,7 @@ function displayJSON(addons: Heroku.AddOn[]) {
export default class Addons extends Command {
static topic = topic
static usage = 'addons [--all|--app APP]'
static description = `
Lists your add-ons and attachments.
static description = `Lists your add-ons and attachments.
The default filter applied depends on whether you are in a Heroku app
directory. If so, the --app flag is implied. If not, the default of --all
Expand Down
3 changes: 1 addition & 2 deletions packages/cli/src/commands/addons/upgrade.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,7 @@ import type {AddOnAttachmentWithConfigVarsAndPlan} from '../../lib/pg/types'
export default class Upgrade extends Command {
static aliases = ['addons:downgrade']
static topic = 'addons'
static description = `
change add-on plan.
static description = `change add-on plan.
See available plans with \`heroku addons:plans SERVICE\`.
Note that \`heroku addons:upgrade\` and \`heroku addons:downgrade\` are the same.\
Expand Down
3 changes: 1 addition & 2 deletions packages/cli/src/commands/certs/add.ts
Original file line number Diff line number Diff line change
Expand Up @@ -33,8 +33,7 @@ async function configureDomains(app: string, heroku: APIClient, cert: SniEndpoin
export default class Add extends Command {
static topic = 'certs'
static strict = true
static description = `
Add an SSL certificate to an app.
static description = `Add an SSL certificate to an app.
Note: certificates with PEM encoding are also valid.
`
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/src/commands/releases/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ export default class Index extends Command {
static examples = [
'v1 Config add FOO_BAR email@example.com 2015/11/17 17:37:41 (~ 1h ago)',
'v2 Config add BAR_BAZ email@example.com 2015/11/17 17:37:41 (~ 1h ago)',
'v3 Config add BAZ_QUX email@example.com 2015/11/17 17:37:41 (~ 1h ago)'
'v3 Config add BAZ_QUX email@example.com 2015/11/17 17:37:41 (~ 1h ago)',
]

static flags = {
Expand Down
3 changes: 1 addition & 2 deletions packages/cli/src/commands/releases/rollback.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,7 @@ import {stream} from '../../lib/releases/output'
export default class Rollback extends Command {
static topic = 'releases'
static hiddenAliases = ['rollback']
static description = `
Roll back to a previous release.
static description = `Roll back to a previous release.
If RELEASE is not specified, it will roll back one release.
`
Expand Down

0 comments on commit 56f4de8

Please sign in to comment.