diff --git a/packages/eas-cli/src/build/build.ts b/packages/eas-cli/src/build/build.ts index f0906c18c4..836c7ead5c 100644 --- a/packages/eas-cli/src/build/build.ts +++ b/packages/eas-cli/src/build/build.ts @@ -333,12 +333,7 @@ export type MaybeBuildFragment = BuildFragment | null; export async function waitForBuildEndAsync( graphqlClient: ExpoGraphqlClient, - { - buildIds, - accountName, - projectDir, - nonInteractive, - }: { buildIds: string[]; accountName: string; projectDir: string; nonInteractive: boolean }, + { buildIds, accountName }: { buildIds: string[]; accountName: string }, { intervalSec = 10 } = {} ): Promise { let spinner; @@ -355,10 +350,7 @@ export async function waitForBuildEndAsync( const builds = await getBuildsSafelyAsync(graphqlClient, buildIds); const { refetch } = builds.length === 1 - ? await handleSingleBuildProgressAsync( - { build: builds[0], accountName, projectDir, nonInteractive }, - { spinner } - ) + ? await handleSingleBuildProgressAsync({ build: builds[0], accountName }, { spinner }) : await handleMultipleBuildsProgressAsync({ builds }, { spinner, originalSpinnerText }); if (!refetch) { return builds; @@ -396,13 +388,9 @@ async function handleSingleBuildProgressAsync( { build, accountName, - projectDir, - nonInteractive, }: { build: MaybeBuildFragment; accountName: string; - projectDir: string; - nonInteractive: boolean; }, { spinner }: { spinner: Ora } ): Promise { diff --git a/packages/eas-cli/src/build/runBuildAndSubmit.ts b/packages/eas-cli/src/build/runBuildAndSubmit.ts index b96fac14a6..58b23213ed 100644 --- a/packages/eas-cli/src/build/runBuildAndSubmit.ts +++ b/packages/eas-cli/src/build/runBuildAndSubmit.ts @@ -231,8 +231,6 @@ export async function runBuildAndSubmitAsync( const builds = await waitForBuildEndAsync(graphqlClient, { buildIds: startedBuilds.map(({ build }) => build.id), accountName, - projectDir, - nonInteractive: flags.nonInteractive, }); if (!flags.json) { printBuildResults(builds); diff --git a/packages/eas-cli/src/commands/build/resign.ts b/packages/eas-cli/src/commands/build/resign.ts index ce649bd0fb..ee657aadf9 100644 --- a/packages/eas-cli/src/commands/build/resign.ts +++ b/packages/eas-cli/src/commands/build/resign.ts @@ -204,8 +204,6 @@ export default class BuildResign extends EasCommand { const buildResult = await waitForBuildEndAsync(graphqlClient, { buildIds: [newBuild.id], accountName: account.name, - nonInteractive, - projectDir, }); if (!flags.json) { printBuildResults(buildResult);