mirror of
https://github.com/warengroup/eximiabots-radiox.git
synced 2024-12-22 22:13:16 +00:00
Commenting unnecessary console.log in datastore.js
This commit is contained in:
parent
2fef361d45
commit
186181c313
@ -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);
|
||||||
|
Loading…
Reference in New Issue
Block a user