From 0e892cb72c19ecef78960dee01c13092ffb5c111 Mon Sep 17 00:00:00 2001 From: DemuraAIdev Date: Thu, 1 Dec 2022 19:23:47 +0700 Subject: [PATCH] Bruhh --- index.js | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) diff --git a/index.js b/index.js index 5c6d8bd..3ac5c56 100644 --- a/index.js +++ b/index.js @@ -76,16 +76,12 @@ if (process.argv[2] == '-e') { } } else { - setTimeout(() => { - fs.readFile("lib/asci.txt", 'utf8', function (err, data) { - if (err) throw err; - console.log(data); - console.log("[1] Encrypt File"); - console.log("[2] Decrypt File"); - }); - - }, 3000); - + fs.readFile("lib/asci.txt", 'utf8', function (err, data) { + if (err) throw err; + console.log(data); + console.log("[1] Encrypt File"); + console.log("[2] Decrypt File"); + }); rl.question('Select an option: ', (answer) => { if (answer == 1) {