mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-10-26 16:46:12 +01:00
ESlint no-plusplus
and no-empty, space-unary-ops
This commit is contained in:
@@ -39,7 +39,7 @@ pluginsController.get = function (req, res, next) {
|
||||
}),
|
||||
upgradeCount: payload.compatible.reduce(function (count, current) {
|
||||
if (current.installed && current.outdated) {
|
||||
++count;
|
||||
count += 1;
|
||||
}
|
||||
return count;
|
||||
}, 0),
|
||||
|
||||
Reference in New Issue
Block a user