Merge branch 'master' into feat/agc-use-ui-design
Project CI / Frontend tests (pull_request) Successful in 4m31s
Project CI / Native shell tests (pull_request) Failing after 16m46s
Project CI / Repository checks (pull_request) Successful in 3m52s
Project CI / Backend tests (pull_request) Successful in 7m7s

This commit is contained in:
2026-09-01 17:40:24 +08:00
+1 -1
View File
@@ -2940,7 +2940,7 @@ function extractTsStringArray(source, exportName, seen = new Set()) {
const match = source.match(
new RegExp(
`export const ${exportName}[^=]*= \\[([\\s\\S]*?)\\](?: as const)?;`,
`export const ${exportName}[^=]*=\\s*\\[([\\s\\S]*?)\\](?: as const)?;`,
),
);
if (!match) {