mirror of
https://github.com/dscalzi/HeliosLauncher.git
synced 2024-12-21 19:22:13 -08:00
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:
parent
297a3a099c
commit
9d4c8cc399
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user