aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorST-DDT <[email protected]>2024-07-01 15:03:12 +0200
committerGitHub <[email protected]>2024-07-01 15:03:12 +0200
commite7c9cb99ed3b22f4da5820c939184edba771ff32 (patch)
treec0d055318a2e1a019c5d5c76891b04fc34a7b20f /scripts
parent0679d993d92be0ad093e4776acff9815c446a10f (diff)
downloadfaker-e7c9cb99ed3b22f4da5820c939184edba771ff32.tar.xz
faker-e7c9cb99ed3b22f4da5820c939184edba771ff32.zip
chore: remove unused function mergeArrays (#2989)
Diffstat (limited to 'scripts')
-rw-r--r--scripts/generate-locales.ts3
1 files changed, 1 insertions, 2 deletions
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;
}