1
0
forked from baron/baron-sso

fix: resolve i18n resource check failures and restore logout functionality

This commit is contained in:
2026-02-13 14:33:26 +09:00
parent ce703005e1
commit 7f8d52ac3f
7 changed files with 162 additions and 5 deletions

View File

@@ -73,11 +73,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);
}