diff --git a/lib/commands/repos/create.js b/lib/commands/repos/create.js index fa0803ea..4155c5fb 100644 --- a/lib/commands/repos/create.js +++ b/lib/commands/repos/create.js @@ -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) diff --git a/lib/commands/repos/update.js b/lib/commands/repos/update.js index 21def25f..cae93ebc 100644 --- a/lib/commands/repos/update.js +++ b/lib/commands/repos/update.js @@ -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)