diff options
| author | ST-DDT <[email protected]> | 2024-07-01 15:03:12 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-07-01 15:03:12 +0200 |
| commit | e7c9cb99ed3b22f4da5820c939184edba771ff32 (patch) | |
| tree | c0d055318a2e1a019c5d5c76891b04fc34a7b20f /scripts | |
| parent | 0679d993d92be0ad093e4776acff9815c446a10f (diff) | |
| download | faker-e7c9cb99ed3b22f4da5820c939184edba771ff32.tar.xz faker-e7c9cb99ed3b22f4da5820c939184edba771ff32.zip | |
chore: remove unused function mergeArrays (#2989)
Diffstat (limited to 'scripts')
| -rw-r--r-- | scripts/generate-locales.ts | 3 |
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; } |
