Skip to content

Commit

Permalink
Apply lints
Browse files Browse the repository at this point in the history
  • Loading branch information
kitten committed Dec 20, 2024
1 parent fb8b05f commit 0be4a4f
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 7 deletions.
6 changes: 3 additions & 3 deletions packages/eas-cli/src/commands/worker/deploy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down
11 changes: 7 additions & 4 deletions packages/eas-cli/src/worker/assets.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit 0be4a4f

Please sign in to comment.