Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
charliegerard committed Jun 21, 2024
1 parent 1647e60 commit 132e452
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/commands/repos/create.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ function setupCommand (name, description, argv, importMeta) {
async function createRepo (orgSlug, input, spinner) {
const socketSdk = await setupSdk(getDefaultKey())
// @ts-ignore
const result = await handleApiCall(socketSdk.createOrgRepo(orgSlug, input), 'listing repositories')
const result = await handleApiCall(socketSdk.createOrgRepo(orgSlug, input), 'creating repository')

if (!result.success) {
return handleUnsuccessfulApiResponse('createOrgRepo', result, spinner)
Expand Down
2 changes: 1 addition & 1 deletion lib/commands/repos/update.js
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,7 @@ function setupCommand (name, description, argv, importMeta) {
async function updateRepository (orgSlug, input, spinner) {
const socketSdk = await setupSdk(getDefaultKey())
// @ts-ignore
const result = await handleApiCall(socketSdk.updateOrgRepo(orgSlug, input.name, input), 'listing repositories')
const result = await handleApiCall(socketSdk.updateOrgRepo(orgSlug, input.name, input), 'updating repository')

if (!result.success) {
return handleUnsuccessfulApiResponse('updateOrgRepo', result, spinner)
Expand Down

0 comments on commit 132e452

Please sign in to comment.