MCPcopy Create free account
hub / github.com/RtlZeroMemory/Rezi / parsePtyTargetScenarioId

Function parsePtyTargetScenarioId

packages/node/src/testing/ptyTargetConfig.ts:115–121  ·  view source on GitHub ↗
(env: EnvMap = process.env as EnvMap)

Source from the content-addressed store, hash-verified

113}
114
115export function parsePtyTargetScenarioId(env: EnvMap = process.env as EnvMap): string {
116 const raw = env[PTY_TARGET_SCENARIO_ID_ENV];
117 if (typeof raw !== "string" || raw.trim().length === 0) {
118 throw new Error(`${PTY_TARGET_SCENARIO_ID_ENV} is required`);
119 }
120 return raw.trim();
121}
122
123export function parsePtyTargetNativeConfig(
124 env: EnvMap = process.env as EnvMap,

Callers 2

loadFixtureFunction · 0.85

Calls

no outgoing calls

Tested by 1

loadFixtureFunction · 0.68