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.
This commit is contained in:
Sandro642 2024-10-24 18:20:36 +02:00
parent 297a3a099c
commit 9d4c8cc399

View File

@ -46,10 +46,10 @@ function startCLI() {
if (menuAnswer.toLowerCase() === 'hide') { if (menuAnswer.toLowerCase() === 'hide') {
config.menuVisibility = 'hidden' // Change to 'hidden' 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') { } else if (menuAnswer.toLowerCase() === 'block') {
config.menuVisibility = 'blocked' // Change to 'blocked' config.menuVisibility = 'blocked' // Change to 'blocked'
console.log(`Athena's Shield activated. Menu blocked.`) console.log('Athena\'s Shield activated. Menu blocked.')
} else { } else {
console.log('Invalid option for the menu.') console.log('Invalid option for the menu.')
rl.close() rl.close()