chore: format

This commit is contained in:
ryan
2026-08-16 21:39:25 +08:00
parent e5d2e4b6d5
commit 55c1fcd5f9
93 changed files with 544 additions and 439 deletions
+1 -3
View File
@@ -29,9 +29,7 @@ function mergeLocale(locale) {
const suffix = `.${locale}.json`;
for (const name of readdirSync(fragmentsDir).sort()) {
if (!name.endsWith(suffix)) continue;
const frag = JSON.parse(
readFileSync(resolve(fragmentsDir, name), 'utf8'),
);
const frag = JSON.parse(readFileSync(resolve(fragmentsDir, name), 'utf8'));
deepMerge(data, frag);
console.log(`merged ${name}`);
}