Skip to content

The fastest, cheapest, most efficient open-source agent harness. Run more than 500 agents on a $10 VPS.

test(module-pins): ensure temp fixture root exists before git init

Steven Enamakel36ba4730514b
diff --git a/scripts/__tests__/module-pins.test.mjs b/scripts/__tests__/module-pins.test.mjs
index 3ddffe06df..5f83f0af39 100644
--- a/scripts/__tests__/module-pins.test.mjs
+++ b/scripts/__tests__/module-pins.test.mjs
@@ -202,6 +202,7 @@ const SHA_B = "b".repeat(40);
function sourceParityFixture() {
const root = mkdtempSync(join(tmpdir(), "module-source-parity-"));
+ mkdirSync(root, { recursive: true });
const git = (args) =>
execFileSync("git", args, { cwd: root, stdio: "ignore" });
git(["init", "-q"]);