fix: silence deprecation warnings without NODE_OPTIONS (#80)

Signed-off-by: Jon Church <me@jonchurch.com>
This commit is contained in:
Jon Church
2025-04-16 18:25:32 -04:00
committed by GitHub
parent 50925c0d6c
commit 05c458b51e

View File

@@ -1,5 +1,9 @@
#!/usr/bin/env node
// Hack to suppress deprecation warnings (punycode)
// eslint-disable-next-line @typescript-eslint/no-explicit-any
(process as any).noDeprecation = true;
import type { AppRollout } from "./app";
import type { ApprovalPolicy } from "./approvals";
import type { CommandConfirmation } from "./utils/agent/agent-loop";