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: add missing process.exit(0) to early return in post-edit-console-warn hook

Affaan Mustafa2c26d2d67c99
diff --git a/scripts/hooks/post-edit-console-warn.js b/scripts/hooks/post-edit-console-warn.js
index 76f1ee2da..e4aa171bb 100644
--- a/scripts/hooks/post-edit-console-warn.js
+++ b/scripts/hooks/post-edit-console-warn.js
@@ -28,7 +28,7 @@ process.stdin.on('end', () => {
if (filePath && /\.(ts|tsx|js|jsx)$/.test(filePath)) {
const content = readFile(filePath);
- if (!content) { process.stdout.write(data); return; }
+ if (!content) { process.stdout.write(data); process.exit(0); }
const lines = content.split('\n');
const matches = [];