diff --git a/CHANGELOG.md b/CHANGELOG.md index 157e248185..28f2b7204f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,8 @@ This is the log of notable changes to EAS CLI and related packages. ### 🧹 Chores +- Remove duplicated log message when creating ASC API key. ([#2208](https://github.com/expo/eas-cli/pull/2208) by [@radoslawkrzemien](https://github.com/radoslawkrzemien)) + ## [7.1.2](https://github.com/expo/eas-cli/releases/tag/v7.1.2) - 2024-01-30 ### 🧹 Chores diff --git a/packages/eas-cli/src/credentials/ios/actions/CreateAscApiKey.ts b/packages/eas-cli/src/credentials/ios/actions/CreateAscApiKey.ts index a89d1a094f..a49c0c3eeb 100644 --- a/packages/eas-cli/src/credentials/ios/actions/CreateAscApiKey.ts +++ b/packages/eas-cli/src/credentials/ios/actions/CreateAscApiKey.ts @@ -1,6 +1,5 @@ import { AppStoreApiKeyPurpose, provideOrGenerateAscApiKeyAsync } from './AscApiKeyUtils'; import { AccountFragment, AppStoreConnectApiKeyFragment } from '../../../graphql/generated'; -import Log from '../../../log'; import { CredentialsContext } from '../../context'; export class CreateAscApiKey { @@ -15,8 +14,6 @@ export class CreateAscApiKey { } const ascApiKey = await provideOrGenerateAscApiKeyAsync(ctx, purpose); - const result = await ctx.ios.createAscApiKeyAsync(ctx.graphqlClient, this.account, ascApiKey); - Log.succeed('Created App Store Connect API Key'); - return result; + return await ctx.ios.createAscApiKeyAsync(ctx.graphqlClient, this.account, ascApiKey); } }