aboutsummaryrefslogtreecommitdiff
path: root/scripts
diff options
context:
space:
mode:
Diffstat (limited to 'scripts')
-rw-r--r--scripts/generateLocales.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/generateLocales.ts b/scripts/generateLocales.ts
index 67d0f779..70e40157 100644
--- a/scripts/generateLocales.ts
+++ b/scripts/generateLocales.ts
@@ -359,7 +359,7 @@ async function main(): Promise<void> {
localizationLocales = await format(localizationLocales, prettierMdOptions);
- let localizationContent = readFileSync(pathDocsGuideLocalization, 'utf-8');
+ let localizationContent = readFileSync(pathDocsGuideLocalization, 'utf8');
localizationContent = localizationContent.replace(
/(^<!-- LOCALES-AUTO-GENERATED-START -->$).*(^<!-- LOCALES-AUTO-GENERATED-END -->$)/gms,
`$1\n\n<!-- Run '${scriptCommand}' to update. -->\n\n${localizationLocales}\n$2`