Skip to content

Commit 54c8765

Browse files
committed
chore: cleanup
1 parent acb8859 commit 54c8765

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

packages/cli/src/cli/cmd/cleanup.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ export default new Command()
4040
for (const bucketConfig of bucket.config) {
4141
const sourceLocale = resolveOverridenLocale(i18nConfig!.locale.source, bucketConfig.delimiter);
4242
const bucketOra = Ora({ indent: 2 }).info(`Processing path: ${bucketConfig.pathPattern}`);
43-
const bucketLoader = createBucketLoader(bucket.type, bucketConfig.pathPattern);
43+
const bucketLoader = createBucketLoader(bucket.type, bucketConfig.pathPattern, { isCacheRestore: false, defaultLocale: sourceLocale });
4444
bucketLoader.setDefaultLocale(sourceLocale);
4545

4646
// Load source data

packages/cli/src/cli/cmd/lockfile.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export default new Command()
2626
for (const bucket of buckets) {
2727
for (const bucketConfig of bucket.config) {
2828
const sourceLocale = resolveOverridenLocale(i18nConfig!.locale.source, bucketConfig.delimiter);
29-
const bucketLoader = createBucketLoader(bucket.type, bucketConfig.pathPattern);
29+
const bucketLoader = createBucketLoader(bucket.type, bucketConfig.pathPattern, { isCacheRestore: false, defaultLocale: sourceLocale });
3030
bucketLoader.setDefaultLocale(sourceLocale);
3131

3232
const sourceData = await bucketLoader.pull(sourceLocale);

0 commit comments

Comments
 (0)