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

Function withTempProject

scripts/test-operator-console.js:17–24  ·  view source on GitHub ↗
(run)

Source from the content-addressed store, hash-verified

15}
16
17function withTempProject(run) {
18 const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'citadel-operator-console-'));
19 try {
20 return run(dir);
21 } finally {
22 fs.rmSync(dir, { recursive: true, force: true });
23 }
24}
25
26function readinessReport({ branch, head, pr, generated }) {
27 return [

Callers 1

Calls 1

runFunction · 0.70

Tested by

no test coverage detected