MCPcopy Create free account
hub / github.com/expo/eas-cli / getScriptEnv

Method getScriptEnv

packages/steps/src/BuildStep.ts:514–525  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

512 }
513
514 private getScriptEnv(): Record<string, string> {
515 const effectiveEnv = { ...this.ctx.global.env, ...this.stepEnvOverrides };
516 const currentPath = effectiveEnv.PATH ?? process.env.PATH;
517 const newPath = currentPath ? `${BIN_PATH}:${currentPath}` : BIN_PATH;
518 return {
519 ...effectiveEnv,
520 __EXPO_STEPS_OUTPUTS_DIR: this.outputsDir,
521 __EXPO_STEPS_ENVS_DIR: this.envsDir,
522 __EXPO_STEPS_WORKING_DIRECTORY: this.ctx.workingDirectory,
523 PATH: newPath,
524 };
525 }
526}

Callers 4

shouldExecuteStepMethod · 0.95
executeCommandAsyncMethod · 0.95
executeFnAsyncMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected