Skip to content

Commit 3c2c4f5

Browse files
committed
chore: cleanup
1 parent de5ceb0 commit 3c2c4f5

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

lunaria/prepare-json-files.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import * as fs from 'node:fs/promises'
55
import { currentLocales } from '../config/i18n.ts'
66
import { deepCopy } from '@intlify/shared'
77

8-
const destFolder = path.resolve('lunaria-json-files')
8+
const destFolder = path.resolve('lunaria/files')
99
const localesFolder = path.resolve('i18n/locales')
1010

1111
export const locales: Locale[] = currentLocales
@@ -26,7 +26,6 @@ async function loadJsonFile(name: string) {
2626
}
2727

2828
async function mergeLocale(locale: LocaleObject) {
29-
console.log(locale)
3029
if (locale.file || locale.files.length === 1) {
3130
const json = locale.file || locale.files[0]
3231
await fs.cp(path.resolve(`${localesFolder}/${json}`), path.resolve(`${destFolder}/${json}`))

0 commit comments

Comments
 (0)