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); } }