Skip to content

Commit

Permalink
change sortby to import
Browse files Browse the repository at this point in the history
  • Loading branch information
eablack committed Mar 20, 2024
1 parent aa6778f commit 5fd7ea3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/cli/src/commands/pg/backups/info.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ import {Command, flags} from '@heroku-cli/command'
import {Args, ux} from '@oclif/core'
import pgHost from '../../../lib/pg/host'
import pgBackupsApi, {BackupTransfer} from '../../../lib/pg/backups'
import {sortBy} from 'lodash'

function status(backup: BackupTransfer) {
if (backup.succeeded) {
Expand Down Expand Up @@ -46,7 +47,6 @@ export default class Info extends Command {
const {app} = flags
const {backup_id} = args

const {sortBy} = require('lodash')
const getBackup = async (id: string | undefined) => {
let backupID
if (id) {
Expand Down

0 comments on commit 5fd7ea3

Please sign in to comment.