mirror of
https://github.com/Dokploy/dokploy.git
synced 2026-10-15 21:31:11 +00:00
fix(typecheck): assert m[1] non-null for noUncheckedIndexedAccess
This commit is contained in:
@@ -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);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user