Skip to content

Commit

Permalink
remove reset flag from pg:credentials (#1898)
Browse files Browse the repository at this point in the history
  • Loading branch information
jdowning committed Dec 1, 2021
1 parent 77bd720 commit 67d33d6
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions packages/pg-v5/commands/credentials.js
Original file line number Diff line number Diff line change
Expand Up @@ -40,11 +40,7 @@ async function run(context, heroku) {
})
}

if (flags.reset) {
cli.error(`${cli.color.cmd('pg:credentials --reset')} is deprecated. Please use ${cli.color.cmd('pg:credentials:rotate')} instead.`)
} else {
await showCredentials()
}
await showCredentials()
}

module.exports = {
Expand All @@ -53,7 +49,6 @@ module.exports = {
description: 'show information on credentials in the database',
needsApp: true,
needsAuth: true,
flags: [{ name: 'reset', description: 'DEPRECATED' }],
args: [{ name: 'database', optional: true }],
run: cli.command({ preauth: true }, run)
}

0 comments on commit 67d33d6

Please sign in to comment.