Commenting unnecessary console.log in datastore.js

This commit is contained in:
Christer Warén 2020-04-04 03:06:14 +03:00
parent 2fef361d45
commit 186181c313

View File

@ -8,7 +8,7 @@ module.exports = class {
} }
loadData() { loadData() {
console.log(""); //console.log("");
const dataFiles = fs.readdirSync(path.join(path.dirname(__dirname), 'datastore')).filter(f => f.endsWith('.json')); const dataFiles = fs.readdirSync(path.join(path.dirname(__dirname), 'datastore')).filter(f => f.endsWith('.json'));
for (const file of dataFiles) { for (const file of dataFiles) {
try { try {
@ -20,9 +20,9 @@ module.exports = class {
//console.log('[ERROR] Loading ' + file + ' failed'); //console.log('[ERROR] Loading ' + file + ' failed');
} }
} }
console.log(""); //console.log("");
} }
checkEntry(id){ checkEntry(id){
if(!this.map.has(id)){ if(!this.map.has(id)){
this.createEntry(id); this.createEntry(id);