Added periodic memory logger.
This commit is contained in:
@@ -8,7 +8,7 @@ async function getFileEntries(location) {
|
||||
}
|
||||
|
||||
const file = await fs.promises.readFile(location, 'utf-8');
|
||||
const entries = file.split(/\n/).map(entry => entry.trim()).filter(Boolean);
|
||||
const entries = file.split(/\n/).map((entry) => entry.trim()).filter(Boolean);
|
||||
|
||||
return entries;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user