🐛 Stop specifying UTF-8

This commit is contained in:
trickypr 2022-06-19 10:23:48 +10:00
parent 1964e6e17d
commit 463164a2af
10 changed files with 20 additions and 21 deletions

View file

@ -164,7 +164,7 @@ async function setupLocale(
)
)
.map((file) => [
readFileSync(join(templateDir, 'branding.optional', file), 'utf-8'),
readFileSync(join(templateDir, 'branding.optional', file)).toString(),
join(outputPath, file),
])
.forEach(([contents, path]) => {
@ -194,7 +194,7 @@ async function copyMozFiles(
css
.map((filePath) => [
readFileSync(filePath, 'utf-8'),
readFileSync(filePath).toString(),
join(outputPath, filePath.replace(BRANDING_FF, '')),
])
.map(([contents, path]) => [