Fix missing keywords

This commit is contained in:
Tiger Oakes
2020-09-29 08:53:36 -07:00
parent 21eafeab22
commit e26ac82c66
3 changed files with 15 additions and 17 deletions

View File

@@ -182,7 +182,7 @@ async function importUnregisteredFiles() {
}
// run through check list and check each file to see if it's missing from the db
dirs_to_check.forEach(dir_to_check => {
for (const dir_to_check of dirs_to_check) {
// recursively get all files in dir's path
const files = await utils.getDownloadedFilesByType(dir_to_check.basePath, dir_to_check.type);
@@ -195,7 +195,7 @@ async function importUnregisteredFiles() {
logger.verbose(`Added discovered file to the database: ${file.id}`);
}
});
});
}
}