Skip to content

armgit / ECC

Public Imported from GitHub
0

The agent harness performance optimization system. Skills, instincts, memory, security, and research-first development for Claude Code, Codex, Opencode, Cursor and beyond.

fix: remove unreachable return after process.exit in post-edit-typecheck hook

Affaan Mustafae2040b46b338
diff --git a/scripts/hooks/post-edit-typecheck.js b/scripts/hooks/post-edit-typecheck.js
index 981dbeb61..814a33366 100644
--- a/scripts/hooks/post-edit-typecheck.js
+++ b/scripts/hooks/post-edit-typecheck.js
@@ -33,7 +33,6 @@ process.stdin.on("end", () => {
if (!fs.existsSync(resolvedPath)) {
process.stdout.write(data);
process.exit(0);
- return;
}
// Find nearest tsconfig.json by walking up (max 20 levels to prevent infinite loop)
let dir = path.dirname(resolvedPath);