mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-12 00:45:47 +01:00
ESlint padded-blocks
This commit is contained in:
@@ -17,7 +17,6 @@ var search = {};
|
||||
module.exports = search;
|
||||
|
||||
search.search = function (data, callback) {
|
||||
|
||||
var start = process.hrtime();
|
||||
var searchIn = data.searchIn || 'titlesposts';
|
||||
|
||||
@@ -253,7 +252,6 @@ function getMatchedPosts(pids, data, callback) {
|
||||
}, next);
|
||||
},
|
||||
function (results, next) {
|
||||
|
||||
posts.forEach(function (post, index) {
|
||||
if (results.topics && results.topics[index]) {
|
||||
post.topic = results.topics[index];
|
||||
|
||||
Reference in New Issue
Block a user