mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-11-16 10:46:14 +01:00
fix(style): requiring parens in block bodies
This commit is contained in:
@@ -86,7 +86,7 @@ module.exports = function (module) {
|
||||
|
||||
const item = cachedData[key] || {};
|
||||
const result = {};
|
||||
fields.forEach(field => {
|
||||
fields.forEach((field) => {
|
||||
result[field] = item[field] !== undefined ? item[field] : null;
|
||||
});
|
||||
return result;
|
||||
|
||||
Reference in New Issue
Block a user