From 20301a620d517258c01380d3eefef0f64877c53d Mon Sep 17 00:00:00 2001 From: Lucas Gabriel <90426410+lucmsilva651@users.noreply.github.com> Date: Sun, 2 Jun 2024 03:35:20 -0300 Subject: [PATCH] Update blocklist.js --- src/blocklist.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/blocklist.js b/src/blocklist.js index 2c7a0ec..d9e7055 100644 --- a/src/blocklist.js +++ b/src/blocklist.js @@ -12,7 +12,7 @@ const readBlocklist = () => { } catch (error) { if (error.code === 'ENOENT') { console.log('WARN: Blocklist file not found. Creating a new one.'); - fs.writeFileSync(blocklistPath, ''); // Create an empty blocklist file + fs.writeFileSync(blocklistPath, ''); } else { console.error('WARN: Error reading blocklist:', error); }