chore: auto-fix lint & formatting [skip ci]

This commit is contained in:
github-actions[bot] authored and GitHub committed 2026-10-03 14:55:16 +00:00
1 parent fbbff669a3
commit 37d2eb3636
13 files changed
+840 -97

No files matched your search

+2 -1
View File
@@ -12,7 +12,8 @@ export function isDebugMode(env: Env): boolean {
if (env.DEBUG_MODE === "true") return true;
const anyEnv = env as unknown as Record<string, string | undefined>;
if (anyEnv["debug_mode"] === "true") return true;
const proc = (globalThis as unknown as { process?: { env?: Record<string, string | undefined> } }).process;
const proc = (globalThis as unknown as { process?: { env?: Record<string, string | undefined> } })
.process;
if (proc?.env?.NODE_ENV !== "test") {
if (proc?.env?.DEBUG_MODE === "true" || proc?.env?.debug_mode === "true") return true;
}