MCPcopy Create free account
hub / github.com/heygen-com/hyperframes / writeStackOutputs

Function writeStackOutputs

packages/cli/src/commands/lambda/state.ts:44–49  ·  view source on GitHub ↗
(outputs: StackOutputs, cwd: string = process.cwd())

Source from the content-addressed store, hash-verified

42}
43
44export function writeStackOutputs(outputs: StackOutputs, cwd: string = process.cwd()): string {
45 const path = stateFilePath(outputs.stackName, cwd);
46 mkdirSync(dirname(path), { recursive: true });
47 writeFileSync(path, JSON.stringify(outputs, null, 2) + "\n");
48 return path;
49}
50
51export function readStackOutputs(
52 stackName: string = DEFAULT_STACK_NAME,

Callers 2

runDeployFunction · 0.85
state.test.tsFile · 0.85

Calls 1

stateFilePathFunction · 0.85

Tested by

no test coverage detected