MCPcopy Create free account
hub / github.com/SethGammon/Citadel / withTempProject

Function withTempProject

scripts/test-stack-plan.js:22–29  ·  view source on GitHub ↗
(run)

Source from the content-addressed store, hash-verified

20}
21
22function withTempProject(run) {
23 const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'citadel-stack-plan-'));
24 try {
25 return run(dir);
26 } finally {
27 fs.rmSync(dir, { recursive: true, force: true });
28 }
29}
30
31function readinessReport({ branch, head, pr, status = 'ready', verification = 'pass', generated = '2026-06-05T12:00:00.000Z' }) {
32 return [

Callers 1

test-stack-plan.jsFile · 0.70

Calls 1

runFunction · 0.70

Tested by

no test coverage detected