1
0
forked from baron/baron-sso

fix: align report.js logic with index.js to resolve i18n check failure

This commit is contained in:
2026-02-13 14:59:42 +09:00
parent 92f084fd59
commit 779b627b64

View File

@@ -76,11 +76,16 @@ function parseTomlKeys(filePath) {
continue;
}
const key = line.slice(0, eqIndex).trim();
let key = line.slice(0, eqIndex).trim();
if (!key) {
continue;
}
// Strip quotes if present
if (key.startsWith('"') && key.endsWith('"')) {
key = key.slice(1, -1);
}
const fullKey = [...currentSection, key].join('.');
keys.add(fullKey);
}