MCPcopy Create free account
hub / github.com/cli/cli / required

Function required

evals/src/smoke.ts:29–33  ·  view source on GitHub ↗
(name: string)

Source from the content-addressed store, hash-verified

27GH_EVAL_ACTOR_TOKEN. GH_EVAL_FIXTURE_TOKEN is optional.`;
28
29function required(name: string): string {
30 const value = process.env[name];
31 if (!value?.trim()) throw new Error(`${name} must be supplied explicitly`);
32 return value;
33}
34
35function parse(argv: string[]): Options | undefined {
36 let live = false;

Callers 1

mainFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected