From dbbd41cd0905998d0c3789063adc3225db4109fa Mon Sep 17 00:00:00 2001 From: otdoges Date: Fri, 25 Jul 2025 20:02:03 -0500 Subject: [PATCH] Potential fix for code scanning alert no. 76: Disallow the `any` type Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com> --- src/lib/e2b-service.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/e2b-service.ts b/src/lib/e2b-service.ts index eba01866..3e960987 100644 --- a/src/lib/e2b-service.ts +++ b/src/lib/e2b-service.ts @@ -47,7 +47,7 @@ class E2BService { /** * Track E2B usage events for analytics */ - private trackEvent(eventName: string, metadata: Record): void { + private trackEvent(eventName: string, metadata: Record): void { try { const MAX_EVENTS = 1000; // Prevent unbounded growth