From 9d4c8cc399190609bd6f24520915e1ca681ff497 Mon Sep 17 00:00:00 2001 From: Sandro642 Date: Thu, 24 Oct 2024 18:20:36 +0200 Subject: [PATCH] Fix escape character handling in console log messages Updated console log messages in athshield.js to use single quotes for consistent escape character handling. This adjustment ensures better compatibility and readability of string literals in the code. --- app/assets/athshield/athshield.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/athshield/athshield.js b/app/assets/athshield/athshield.js index 63d20ac3..e6dc1475 100644 --- a/app/assets/athshield/athshield.js +++ b/app/assets/athshield/athshield.js @@ -46,10 +46,10 @@ function startCLI() { if (menuAnswer.toLowerCase() === 'hide') { config.menuVisibility = 'hidden' // Change to 'hidden' - console.log(`Athena's Shield activated. Menu hidden.`) + console.log('Athena\'s Shield activated. Menu hidden.') } else if (menuAnswer.toLowerCase() === 'block') { config.menuVisibility = 'blocked' // Change to 'blocked' - console.log(`Athena's Shield activated. Menu blocked.`) + console.log('Athena\'s Shield activated. Menu blocked.') } else { console.log('Invalid option for the menu.') rl.close()