ESlint comma-dangle

This commit is contained in:
Peter Jaszkowiak
2017-02-17 19:31:21 -07:00
parent aa64ec7db1
commit bc1d70c126
345 changed files with 1974 additions and 1978 deletions

View File

@@ -32,7 +32,7 @@ module.exports = function (Categories) {
},
function (results, next) {
next(null, {topics: results.topics, nextStart: data.stop + 1});
}
},
], callback);
};
@@ -76,7 +76,7 @@ module.exports = function (Categories) {
});
next(null, pinnedTids.concat(normalTids));
}
},
], callback);
};
@@ -132,14 +132,14 @@ module.exports = function (Categories) {
},
function (next) {
db.sortedSetIncrBy('cid:' + cid + ':tids:posts', 1, postData.tid, next);
}
},
], function (err) {
next(err);
});
},
function (next) {
Categories.updateRecentTid(cid, postData.tid, next);
}
},
], callback);
};