修复原生壳能力检查换行解析
Project CI / Repository checks (push) Successful in 2m40s
Project CI / Frontend tests (push) Successful in 4m2s
Project CI / Backend tests (push) Successful in 7m43s
Project CI / Native shell tests (push) Failing after 20m9s

允许能力数组导出等号后的格式化空白
This commit is contained in:
2026-09-01 17:28:30 +08:00
parent b489244e03
commit 80f34d062d
+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) {