Skip to content
This repository has been archived by the owner on Nov 4, 2024. It is now read-only.

Revert "bugfix/COR-1598-sync-after-feature-fix" #4806

Merged
merged 1 commit into from
Jul 3, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion .github/workflows/sync-sanity-lokalize.yml
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ jobs:
run: yarn workspace @corona-dashboard/icons build

- name: Synchronize texts
run: yarn workspace @corona-dashboard/cms-v2 lokalize:sync-after-feature
run: yarn workspace @corona-dashboard/cms lokalize:sync-after-feature
env:
SANITY_TOKEN: ${{ secrets.sanity_token }}

Expand Down
4 changes: 2 additions & 2 deletions packages/cms-v2/src/lokalize/sync-after-feature.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ import { AddMutation, DeleteMutation, finalizeMoveMutations, getCollapsedAddDele
const additions = addDeleteMutations.filter(hasValueAtKey('action', 'add' as const));

await syncAdditionsToProduction(additions);
})().catch((error) => {
console.error('An error occurred:', error);
})().catch((err) => {
console.error('An error occurred:', err.message);
process.exit(1);
});

Expand Down