diff --git a/packages/eas-cli/src/commands/worker/deploy.ts b/packages/eas-cli/src/commands/worker/deploy.ts index 4716072c88..dc3c1adecc 100644 --- a/packages/eas-cli/src/commands/worker/deploy.ts +++ b/packages/eas-cli/src/commands/worker/deploy.ts @@ -263,9 +263,9 @@ export default class WorkerDeploy extends EasCommand { ); if (manifestResult.conflictingVariableNames?.length) { Log.warn( - '> The following environment variables were loaded both from local .env files as well as EAS environment variables, ' - + ' and will be set to the EAS environment variable values instead: ' - + manifestResult.conflictingVariableNames.join(' '), + '> The following environment variables were loaded both from local .env files as well as EAS environment variables, ' + + ' and will be set to the EAS environment variable values instead: ' + + manifestResult.conflictingVariableNames.join(' ') ); } assetMap = await WorkerAssets.createAssetMapAsync( diff --git a/packages/eas-cli/src/worker/assets.ts b/packages/eas-cli/src/worker/assets.ts index 7f4ef18251..2536df2bbe 100644 --- a/packages/eas-cli/src/worker/assets.ts +++ b/packages/eas-cli/src/worker/assets.ts @@ -121,10 +121,13 @@ export async function createManifestAsync( // Maybe load EAS Environment Variables (based on `--environment` arg) let conflictingVariableNames: string[] | undefined; if (params.environment) { - const loadedVariables = await EnvironmentVariablesQuery.byAppIdWithSensitiveAsync(graphqlClient, { - appId: params.projectId, - environment: params.environment, - }); + const loadedVariables = await EnvironmentVariablesQuery.byAppIdWithSensitiveAsync( + graphqlClient, + { + appId: params.projectId, + environment: params.environment, + } + ); // Load EAS Env vars into `env` object, keeping track of conflicts conflictingVariableNames = []; for (const variable of loadedVariables) {