From e7c9cb99ed3b22f4da5820c939184edba771ff32 Mon Sep 17 00:00:00 2001 From: ST-DDT Date: Mon, 1 Jul 2024 15:03:12 +0200 Subject: chore: remove unused function mergeArrays (#2989) --- 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 b8103ee3..7172ea89 100644 --- a/scripts/generate-locales.ts +++ b/scripts/generate-locales.ts @@ -334,9 +334,8 @@ async function normalizeLocaleFile(filePath: string, definitionKey: string) { const compareIndex = fileContent.indexOf(searchString) + searchString.length; const compareString = fileContent.substring(compareIndex); - const isDynamicFile = compareString.startsWith('mergeArrays'); const isNonApplicable = compareString.startsWith('null'); - if (isDynamicFile || isNonApplicable) { + if (isNonApplicable) { return; } -- cgit v1.2.3