Update blocklist.js
This commit is contained in:
parent
4b0e188467
commit
20301a620d
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue