mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 08:36:12 +01:00
fix: node12 tests
This commit is contained in:
@@ -424,9 +424,7 @@ module.exports = function (Topics) {
|
||||
}
|
||||
}
|
||||
|
||||
matches = matches.sort(function (a, b) {
|
||||
return a > b;
|
||||
});
|
||||
matches.sort();
|
||||
next(null, { matches: matches });
|
||||
},
|
||||
], callback);
|
||||
|
||||
Reference in New Issue
Block a user