Update scanner v3, add isActive support for users

This commit is contained in:
Mark Cooper 2021-09-10 19:55:02 -05:00
parent ddbf678a8b
commit 4e92ea3992
13 changed files with 230 additions and 160 deletions

View file

@ -59,7 +59,7 @@ module.exports.comparePaths = (path1, path2) => {
module.exports.getIno = (path) => {
return fs.promises.stat(path, { bigint: true }).then((data => String(data.ino))).catch((err) => {
Logger.error('[Utils] Failed to get ino for path', path, error)
Logger.error('[Utils] Failed to get ino for path', path, err)
return null
})
}