fix(coding-agent): suppress process warnings in CLI closes #2404

This commit is contained in:
Mario Zechner
2026-03-19 22:21:48 +01:00
parent ac5e0ef76e
commit 31c7406a56
2 changed files with 2 additions and 0 deletions

View File

@@ -6,6 +6,7 @@
* Test with: npx tsx src/cli-new.ts [args...]
*/
process.title = "pi";
process.emitWarning = (() => {}) as typeof process.emitWarning;
import { EnvHttpProxyAgent, setGlobalDispatcher } from "undici";
import { main } from "./main.js";