mirror of
https://github.com/dscalzi/HeliosLauncher.git
synced 2024-12-22 11:42:14 -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') {
|
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()
|
||||||
|
Loading…
Reference in New Issue
Block a user