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

Function withTempProject

scripts/test-continue-action.js:18–25  ·  view source on GitHub ↗
(run)

Source from the content-addressed store, hash-verified

16}
17
18function withTempProject(run) {
19 const dir = fs.mkdtempSync(path.join(os.tmpdir(), 'citadel-continue-'));
20 try {
21 return run(dir);
22 } finally {
23 fs.rmSync(dir, { recursive: true, force: true });
24 }
25}
26
27function reviewPackageCampaign(title, slug) {
28 return [

Callers 1

Calls 1

runFunction · 0.70

Tested by

no test coverage detected