mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46: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) {
|
matches.sort();
|
||||||
return a > b;
|
|
||||||
});
|
|
||||||
next(null, { matches: matches });
|
next(null, { matches: matches });
|
||||||
},
|
},
|
||||||
], callback);
|
], callback);
|
||||||
|
|||||||
Reference in New Issue
Block a user