Skip to content

Commit 62eb6c4

Browse files
feat(firestore): return listBackupsResponse from firestore:backups:list --json
The `firestore:backups:list --json` command now returns the full `listBackupsResponse` object instead of just the `backups` array. This provides more information to the user, including a list of unreachable locations.
1 parent 9903737 commit 62eb6c4

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

src/commands/firestore-backups-list.ts

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,5 @@ export const command = new Command("firestore:backups:list")
3030
);
3131
}
3232

33-
// TODO: Consider returning listBackupResponse instead for --json. This will
34-
// be a breaking change but exposes .unreachable, not just .backups.
35-
return backups;
33+
return listBackupsResponse;
3634
});

0 commit comments

Comments
 (0)