(outputs: StackOutputs, cwd: string = process.cwd())
| 42 | } |
| 43 | |
| 44 | export 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 | |
| 51 | export function readStackOutputs( |
| 52 | stackName: string = DEFAULT_STACK_NAME, |
no test coverage detected