Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
charliegerard committed Jun 18, 2024
1 parent eff8368 commit 826af0d
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions lib/commands/repos/list.js
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
/* eslint-disable no-console */

import chalk from 'chalk'
// @ts-ignore
import chalkTable from 'chalk-table'
import meow from 'meow'
import ora from 'ora'
Expand Down Expand Up @@ -135,6 +136,7 @@ function setupCommand (name, description, argv, importMeta) {
*/
async function listOrgRepos (orgSlug, input, spinner) {
const socketSdk = await setupSdk(getDefaultKey())
// @ts-ignore
const result = await handleApiCall(socketSdk.getOrgRepoList(orgSlug, input), 'looking up package')

if (!result.success) {
Expand All @@ -153,6 +155,7 @@ async function listOrgRepos (orgSlug, input, spinner) {
]
}

// @ts-ignore
const formattedResults = result.data.results.map(d => {
return {
...d
Expand Down

0 comments on commit 826af0d

Please sign in to comment.