diff options
| author | Shinigami <[email protected]> | 2024-06-03 21:22:19 +0200 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-06-03 21:22:19 +0200 |
| commit | badaa6d60593fe41a1afa0e9a8bef6ae5bb8a352 (patch) | |
| tree | 64381b3fd9d84e5cca828a0a02ffb5c4149d5b82 /scripts | |
| parent | a082ed2555a2d339e1342ebf03145ee6bd3cc7b5 (diff) | |
| download | faker-badaa6d60593fe41a1afa0e9a8bef6ae5bb8a352.tar.xz faker-badaa6d60593fe41a1afa0e9a8bef6ae5bb8a352.zip | |
refactor(locale): unfreeze arrays (#2928)
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 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; } |
