mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-03 20:45:58 +01:00
linting for tests to pass
This commit is contained in:
@@ -59,6 +59,10 @@ Upgrade.check = function (callback) {
|
||||
}, []);
|
||||
|
||||
db.getSortedSetRange('schemaLog', 0, -1, function (err, executed) {
|
||||
if (err) {
|
||||
return callback(err);
|
||||
}
|
||||
|
||||
var remainder = all.filter(function (name) {
|
||||
return executed.indexOf(name) === -1;
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user