From badaa6d60593fe41a1afa0e9a8bef6ae5bb8a352 Mon Sep 17 00:00:00 2001 From: Shinigami Date: Mon, 3 Jun 2024 21:22:19 +0200 Subject: refactor(locale): unfreeze arrays (#2928) --- scripts/generate-locales.ts | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'scripts') diff --git a/scripts/generate-locales.ts b/scripts/generate-locales.ts index 933215a1..2d6c252e 100644 --- a/scripts/generate-locales.ts +++ b/scripts/generate-locales.ts @@ -335,8 +335,7 @@ async function normalizeLocaleFile(filePath: string, definitionKey: string) { const isDynamicFile = compareString.startsWith('mergeArrays'); const isNonApplicable = compareString.startsWith('null'); - const isFrozenData = compareString.startsWith('Object.freeze'); - if (isDynamicFile || isNonApplicable || isFrozenData) { + if (isDynamicFile || isNonApplicable) { return; } -- cgit v1.2.3