Skip to content

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

fix(module-pins): silence git stderr in source parity check

Steven Enamakel41ca82121e5b
diff --git a/scripts/lib/module-pins.mjs b/scripts/lib/module-pins.mjs
index abe05d70d4..56a8c4f0be 100644
--- a/scripts/lib/module-pins.mjs
+++ b/scripts/lib/module-pins.mjs
@@ -199,7 +199,11 @@ export function validateTestOnlySourceParity({
actualHead,
proof,
runGit = (args) =>
- execFileSync("git", args, { cwd: repoPath, encoding: "utf8" }).trim(),
+ execFileSync("git", args, {
+ cwd: repoPath,
+ encoding: "utf8",
+ stdio: ["ignore", "pipe", "pipe"],
+ }).trim(),
}) {
try {
if (typeof repoPath !== "string" || repoPath.length === 0) {