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

Function tempProject

scripts/test-deploy-steward.js:21–25  ·  view source on GitHub ↗
(name)

Source from the content-addressed store, hash-verified

19const PROJECT_ROOT = path.resolve(__dirname, '..');
20
21function tempProject(name) {
22 const dir = fs.mkdtempSync(path.join(os.tmpdir(), `citadel-deploy-steward-${name}-`));
23 fs.mkdirSync(path.join(dir, '.planning', 'pr-readiness'), { recursive: true });
24 return dir;
25}
26
27function writeFile(filePath, content) {
28 fs.mkdirSync(path.dirname(filePath), { recursive: true });

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected