Skip to content

Commit

Permalink
Update main.js
Browse files Browse the repository at this point in the history
  • Loading branch information
GataNina-Li authored Nov 5, 2023
1 parent 381b467 commit 0867fda
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion main.js
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ opcion = await question(`β•­${lineM}
//if (fs.existsSync(`./${authFile}/creds.json`)) {
//console.log(chalk.bold.redBright(`PRIMERO BORRE EL ARCHIVO ${chalk.bold.greenBright("creds.json")} QUE SE ENCUENTRA EN LA CARPETA ${chalk.bold.greenBright(authFile)} Y REINICIE.`))
//process.exit()
} if (!/^[1-2]$/.test(opcion)) {
if (!/^[1-2]$/.test(opcion)) {
console.log(chalk.bold.redBright(`NO SE PERMITE NÚMEROS QUE NO SEAN ${chalk.bold.greenBright("1")} O ${chalk.bold.greenBright("2")}, TAMPOCO LETRAS O SÍMBOLOS ESPECIALES.
${chalk.bold.yellowBright("CONSEJO: COPIE EL NÚMERO DE LA OPCIΓ“N Y PΓ‰GUELO EN LA CONSOLA.")}`))
} while (opcion !== '1' && opcion !== '2' || fs.existsSync(`./${authFile}/creds.json`))
Expand Down

0 comments on commit 0867fda

Please sign in to comment.