Merge branch 'master' into feat/agc_add_on
Project CI / Frontend tests (pull_request) Successful in 5m6s
Project CI / Backend tests (pull_request) Successful in 7m20s
Project CI / Repository checks (pull_request) Successful in 2m59s
Project CI / Native shell tests (pull_request) Failing after 16m37s

This commit is contained in:
2026-09-01 17:42:28 +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) {