Skip to content

Commit 120d983

Browse files
committed
chore: cleanup
1 parent d91de6e commit 120d983

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lunaria/prepare-json-files.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,9 +47,9 @@ export async function mergeLocaleObject(locale: LocaleObject, copy = false) {
4747
if (copy) {
4848
await fs.cp(path.resolve(`${localesFolder}/${json}`), path.resolve(`${destFolder}/${json}`))
4949
return
50-
} else {
51-
return await loadJsonFile(json)
5250
}
51+
52+
return await loadJsonFile(json)
5353
}
5454

5555
const firstFile = files[0]

0 commit comments

Comments
 (0)