mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-18 03:31:03 +01:00
chore: eslint no-var, vars-on-top
This commit is contained in:
committed by
Julian Lam
parent
b56d9e12b5
commit
dab3b23575
@@ -140,7 +140,6 @@ module.exports = function (Categories) {
|
||||
if (category.posts.length) {
|
||||
return;
|
||||
}
|
||||
|
||||
const posts = [];
|
||||
getPostsRecursive(category, posts);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user