lint fix
All checks were successful
Build / build (20) (pull_request) Successful in 34s
Build / build (18) (pull_request) Successful in 51s
Build / build (22) (pull_request) Successful in 1m3s

This commit is contained in:
AMelonInsideLemon 2025-02-05 14:57:07 +01:00
parent da0183a101
commit 2c01c06405

View File

@ -96,6 +96,7 @@ async function processTranslations() {
}
}
try {
const formattedEnData = await prettier.format(JSON.stringify(enData), {
parser: "json"
});
@ -103,6 +104,9 @@ async function processTranslations() {
fs.writeFileSync(oldLangFile, formattedEnData, "utf-8");
logger.info("Updated old_en.json with the latest translations.");
process.exit(0);
} catch (error) {
logger.error("Error during the formatting or writing of old_en.json:", error);
process.exit(1);
}
processTranslations();
}
void processTranslations();