From a2059c9fd7b574e6b2495461b47856a0ddd34c80 Mon Sep 17 00:00:00 2001 From: "detail-app[bot]" Date: Mon, 7 Sep 2026 17:13:41 +0000 Subject: [PATCH] fix(typecheck): assert m[1] non-null for noUncheckedIndexedAccess --- apps/dokploy/__test__/auth/enforce-sso-prefix-precision.test.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dokploy/__test__/auth/enforce-sso-prefix-precision.test.ts b/apps/dokploy/__test__/auth/enforce-sso-prefix-precision.test.ts index 1ce6101f3..a8a334446 100644 --- a/apps/dokploy/__test__/auth/enforce-sso-prefix-precision.test.ts +++ b/apps/dokploy/__test__/auth/enforce-sso-prefix-precision.test.ts @@ -41,7 +41,7 @@ function collectEndpointPaths(distDirs: string[]): string[] { const content = readFileSync(full, "utf8"); let m: RegExpExecArray | null = re.exec(content); while (m !== null) { - paths.add(m[1]); + paths.add(m[1]!); m = re.exec(content); } }