aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
authorShinigami <[email protected]>2024-06-03 21:22:19 +0200
committerGitHub <[email protected]>2024-06-03 21:22:19 +0200
commitbadaa6d60593fe41a1afa0e9a8bef6ae5bb8a352 (patch)
tree64381b3fd9d84e5cca828a0a02ffb5c4149d5b82 /scripts
parenta082ed2555a2d339e1342ebf03145ee6bd3cc7b5 (diff)
downloadfaker-badaa6d60593fe41a1afa0e9a8bef6ae5bb8a352.tar.xz
faker-badaa6d60593fe41a1afa0e9a8bef6ae5bb8a352.zip
refactor(locale): unfreeze arrays (#2928)
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 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;
}