From 26e9fbc59b081ffc87a6b372f18c1a68a4e62b8e Mon Sep 17 00:00:00 2001 From: RealRichi3 Date: Fri, 24 May 2024 02:05:13 +0100 Subject: [PATCH] log languages --- src/fixes/fix_rtl.ts | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/src/fixes/fix_rtl.ts b/src/fixes/fix_rtl.ts index 5ee06d40..4cbf1731 100644 --- a/src/fixes/fix_rtl.ts +++ b/src/fixes/fix_rtl.ts @@ -39,11 +39,17 @@ async function processHtmlFile(filePath: string, cssContent: string) { export async function fixAndStyleArabicHtmlFiles() { if (!CONFIG.languages.includes("ar")) { + console.log({ + config: CONFIG, + }); logger.info("Arabic language not found in the list of languages"); return; } - const directoryForHtmlFiles = path.join(CONFIG.outputDirectory, `_book/ar/`); + const directoryForHtmlFiles = path.join( + CONFIG.outputDirectory, + `_book/ar/`, + ); const cssFilePath = path.join(__dirname, "/rtl.css"); // Read the CSS file